Skip to main content
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

Acc!!Acc!!, 46 bytes, 10 numbers, crackedcracked

?
Count i while ?????????????????
}
Write ????

Works for 1 to 10, with ? as the hidden character.


Original solution:

1
Count i while _/10 {
Write 49
0
}
Write 48+_
The initial accumulator value goes from 1 to 9 and then to 99. Whenever it is less than 10, _/10 is 0 and the loop doesn't execute. When it is greater than 10, the inner loop writes a 1 and sets the accumulator to 0, which breaks out of the loop and writes a 0.

Acc!!, 46 bytes, 10 numbers, cracked

?
Count i while ?????????????????
}
Write ????

Works for 1 to 10, with ? as the hidden character.


Original solution:

1
Count i while _/10 {
Write 49
0
}
Write 48+_
The initial accumulator value goes from 1 to 9 and then to 99. Whenever it is less than 10, _/10 is 0 and the loop doesn't execute. When it is greater than 10, the inner loop writes a 1 and sets the accumulator to 0, which breaks out of the loop and writes a 0.

Acc!!, 46 bytes, 10 numbers, cracked

?
Count i while ?????????????????
}
Write ????

Works for 1 to 10, with ? as the hidden character.


Original solution:

1
Count i while _/10 {
Write 49
0
}
Write 48+_
The initial accumulator value goes from 1 to 9 and then to 99. Whenever it is less than 10, _/10 is 0 and the loop doesn't execute. When it is greater than 10, the inner loop writes a 1 and sets the accumulator to 0, which breaks out of the loop and writes a 0.

Added crack notice
Source Link
DLosc
  • 39.2k
  • 5
  • 83
  • 141

Acc!!, 46 bytes, 10 numbers, cracked

?
Count i while ?????????????????
}
Write ????

Works for 1 to 10, with ? as the hidden character.


Original solution:

1
Count i while _/10 {
Write 49
0
}
Write 48+_
The initial accumulator value goes from 1 to 9 and then to 99. Whenever it is less than 10, _/10 is 0 and the loop doesn't execute. When it is greater than 10, the inner loop writes a 1 and sets the accumulator to 0, which breaks out of the loop and writes a 0.

Acc!!, 46 bytes, 10 numbers

?
Count i while ?????????????????
}
Write ????

Works for 1 to 10, with ? as the hidden character.

Acc!!, 46 bytes, 10 numbers, cracked

?
Count i while ?????????????????
}
Write ????

Works for 1 to 10, with ? as the hidden character.


Original solution:

1
Count i while _/10 {
Write 49
0
}
Write 48+_
The initial accumulator value goes from 1 to 9 and then to 99. Whenever it is less than 10, _/10 is 0 and the loop doesn't execute. When it is greater than 10, the inner loop writes a 1 and sets the accumulator to 0, which breaks out of the loop and writes a 0.

Source Link
DLosc
  • 39.2k
  • 5
  • 83
  • 141

Acc!!, 46 bytes, 10 numbers

?
Count i while ?????????????????
}
Write ????

Works for 1 to 10, with ? as the hidden character.