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 5, 2024 22:33Alexander FrolovAlexander FrolovScore: 5,170Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2024 22:334,982569,891,326283,964,2420266,252,288
2Jan 5, 2024 22:334,985578,173,471284,168,7460265,351,168
3Jan 5, 2024 22:335,069571,278,366288,910,7500264,982,528
4Jan 5, 2024 22:335,117536,550,681224,739,00066,922,000267,911,168
5Jan 5, 2024 22:335,125529,667,571233,311,00058,834,000267,792,384
6Jan 5, 2024 22:335,132531,155,731225,721,00066,805,000267,882,496
7Jan 5, 2024 22:335,170545,500,230205,190,00089,519,000267,915,264
8Jan 5, 2024 22:335,176546,218,594220,267,00074,769,000267,952,128
9Jan 5, 2024 22:335,177546,259,799218,118,00076,983,000267,812,864
10Jan 5, 2024 22:335,184533,437,814235,374,00060,117,000267,812,864
11Jan 5, 2024 22:335,191549,578,232198,234,00097,652,000267,788,288
12Jan 5, 2024 22:335,192533,013,566219,489,00076,429,000267,792,384