Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Question

replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link
  1. CJam, 105 [Dennis]
  1. Dennis [Java, 269; C, 58; Mathematica, 29]
  2. Martin Büttner [Java, 245]
  1. CJam, 105 [Dennis]
  1. Dennis [Java, 269; C, 58; Mathematica, 29]
  2. Martin Büttner [Java, 245]
added 473 characters in body
Source Link
COTO
  • 3.7k
  • 17
  • 34

Leaderboard

Last Updated Sept 2, 10:45 AM EST

Immovable Barriers (non-cracked submissions):

  1. CJam, 105 [Dennis]

Unstoppable Forces (crackers):

  1. Dennis [Java, 269 ; C, 58 ; Mathematica, 29 ]
  2. Martin Büttner [Java, 245 ]

Leaderboard

Last Updated Sept 2, 10:45 AM EST

Immovable Barriers (non-cracked submissions):

  1. CJam, 105 [Dennis]

Unstoppable Forces (crackers):

  1. Dennis [Java, 269 ; C, 58 ; Mathematica, 29 ]
  2. Martin Büttner [Java, 245 ]
added 17 characters in body
Source Link
COTO
  • 3.7k
  • 17
  • 34
int foo( int i1, int i2, int i3 ) {
 return 20 + abs(i1^i2^i3) %5;
}

has a key of 59, since it (clearlyhopefully) can only output the fivenine values 16,17,18,19,20,21,22,23, and 24.

int foo( int i1, int i2, int i3 ) {
 return 20 + abs(i1^i2^i3) %5;
}

has a key of 5, since it (clearly) can only output the five values 20,21,22,23, and 24.

int foo( int i1, int i2, int i3 ) {
 return 20 + (i1^i2^i3) %5;
}

has a key of 9, since it (hopefully) can only output the nine values 16,17,18,19,20,21,22,23, and 24.

added 3 characters in body
Source Link
COTO
  • 3.7k
  • 17
  • 34
Loading
Tweeted twitter.com/#!/StackCodeGolf/status/506129215520247808
edited tags
Link
COTO
  • 3.7k
  • 17
  • 34
Loading
Source Link
COTO
  • 3.7k
  • 17
  • 34
Loading

AltStyle によって変換されたページ (->オリジナル) /