Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: March 28, 2024, 6:58 pm

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Here's a simple programming problem for you to solve
#41
RE: Here's a simple programming problem for you to solve
Not what I get, you must have changed the code.

Input the string:
AB
Input an integer:
2


There are 4 string combinations.
String Combinations:
AA
AB
BA
BB
"There remain four irreducible objections to religious faith: that it wholly misrepresents the origins of man and the cosmos, that because of this original error it manages to combine the maximum servility with the maximum of solipsism, that it is both the result and the cause of dangerous sexual repression, and that it is ultimately grounded on wish-thinking." ~Christopher Hitchens, god is not Great

PM me your email address to join the Slack chat! I'll give you a taco(or five) if you join! --->There's an app and everything!<---
Reply
#42
RE: Here's a simple programming problem for you to solve
My code literally cannot write a number of the characters in the first slot that isn't a power of the length of the inputted string. IOW, there's no way it writes 3 A's as the first character with a string length of two.

I don't know how you fucked that up, pool, but don't change my code and then tell me it doesn't work. Anyone can follow the short url and input for themselves.
"There remain four irreducible objections to religious faith: that it wholly misrepresents the origins of man and the cosmos, that because of this original error it manages to combine the maximum servility with the maximum of solipsism, that it is both the result and the cause of dangerous sexual repression, and that it is ultimately grounded on wish-thinking." ~Christopher Hitchens, god is not Great

PM me your email address to join the Slack chat! I'll give you a taco(or five) if you join! --->There's an app and everything!<---
Reply
#43
RE: Here's a simple programming problem for you to solve
Ok I ran it from my computer and it works. I'm devastated.
Reply
#44
RE: Here's a simple programming problem for you to solve
I'm not going to rest until I come up with my own solution now. You big meanies. I hate you all. You too Benny.
Reply
#45
RE: Here's a simple programming problem for you to solve
In case someone missed it, i hate you is code for i love you you genius motherfucker.
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  Cryptocurrency in simple details. WinterHold 49 3148 September 10, 2021 at 11:02 am
Last Post: Spongebob
  Programming Language Swift Poll Shining_Finger 24 4162 December 2, 2015 at 7:21 pm
Last Post: bennyboy
  Programming Question Shining_Finger 8 1359 December 2, 2015 at 5:30 pm
Last Post: Tiberius
  Programming the Human Mind: Shining_Finger 21 4565 November 24, 2015 at 7:56 pm
Last Post: bennyboy
  Anyone into Android programming? emjay 97 17911 September 20, 2015 at 6:50 am
Last Post: bennyboy
  Advice Sought for Web Programming AFTT47 13 3256 April 4, 2015 at 10:41 pm
Last Post: bennyboy



Users browsing this thread: 1 Guest(s)