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 listMay 12, 2024 21:27Franek KortaFranek KortaScore: 26,934Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2024 21:2726,6701,814,662,7781,520,169,3540267,755,520
2May 12, 2024 21:2726,8121,839,217,6431,528,309,6110266,973,184
3May 12, 2024 21:2726,8561,811,872,4111,530,763,7620267,608,064
4May 12, 2024 21:2726,8561,808,701,7731,530,777,3590265,736,192
5May 12, 2024 21:2726,9342,169,900,0821,535,247,2790267,993,088
6May 12, 2024 21:2726,9532,126,561,5021,536,342,5370268,013,568
7May 12, 2024 21:2727,0052,130,586,4151,539,289,6390268,021,760
8May 12, 2024 21:2727,0212,124,224,1551,540,198,7160267,988,992
9May 12, 2024 21:2727,0891,835,408,5691,544,047,9970267,395,072