Fizz Buzz Sergey Svistunov

Perform FizzBuzz on a stream of binary integers as fast as possible.

Input: 30 000 000 uint32 values in little-endian binary on STDIN (4 bytes each).

Output: For each number n, print one line:

  • FizzBuzz if n is divisible by both 3 and 5
  • Fizz if n is divisible by 3
  • Buzz if n is divisible by 5
  • n as a decimal string otherwise
Back to listNov 29, 2024 21:28E SequeiraE SequeiraScore: 11,564Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 21:2811,500882,725,606572,055,00083,445,000267,427,840
2Nov 29, 2024 21:2811,502869,453,544568,553,00087,084,000267,378,688
3Nov 29, 2024 21:2811,518881,873,719570,451,00086,068,000267,411,456
4Nov 29, 2024 21:2811,550882,866,241563,744,00094,614,000267,354,112
5Nov 29, 2024 21:2811,564901,687,997576,755,00082,393,000267,272,192
6Nov 29, 2024 21:2811,578887,820,690568,693,00091,271,000267,407,360
7Nov 29, 2024 21:2811,621904,449,202575,687,00086,706,000267,329,536
8Nov 29, 2024 21:2811,6261,059,049,425572,166,00090,500,000267,325,440
9Nov 29, 2024 21:2811,643902,438,775576,804,00086,820,000267,370,496