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 listJan 22, 2024 19:07Yuriy LyfenkoYuriy LyfenkoScore: 4,681Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 19:074,6091,102,839,203201,864,00060,863,000264,093,696
2Jan 22, 2024 19:074,6351,115,923,829208,408,00055,786,000264,515,584
3Jan 22, 2024 19:074,6431,122,212,737196,481,00068,167,000266,227,712
4Jan 22, 2024 19:074,6741,129,722,133196,585,00069,852,000265,342,976
5Jan 22, 2024 19:074,6751,182,869,982266,495,8950267,436,032
6Jan 22, 2024 19:074,6781,155,025,755196,934,00069,684,000263,974,912
7Jan 22, 2024 19:074,6811,117,572,239204,710,00062,126,000265,580,544
8Jan 22, 2024 19:074,6871,127,408,498189,430,00077,715,000266,121,216
9Jan 22, 2024 19:074,6931,137,622,172199,366,00068,150,000264,122,368
10Jan 22, 2024 19:074,7011,173,303,039267,932,5810267,157,504
11Jan 22, 2024 19:074,7171,143,247,268191,914,00076,960,000261,304,320
12Jan 22, 2024 19:074,7411,165,982,064270,253,3680267,776,000