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 listDec 14, 2023 16:20Vadim AlekseevVadim AlekseevScore: 9,287Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 15, 2023 11:409,2511,001,664,078527,295,7880261,275,648
2Dec 15, 2023 11:409,264967,175,920528,075,9630264,130,560
3Dec 15, 2023 11:409,2711,038,617,855528,467,7160260,558,848
4Dec 14, 2023 16:209,287982,049,429529,378,6220264,077,312
5Dec 14, 2023 16:209,2981,048,473,007529,982,9220261,218,304
6Dec 14, 2023 16:209,3281,069,356,199531,688,5360263,364,608