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 listJun 25, 2024 03:21matsuoka-601matsuoka-601Score: 4,999Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 25, 2024 03:214,946594,356,940281,914,2000265,232,384
2Jun 25, 2024 03:214,946592,643,213281,943,5200265,764,864
3Jun 25, 2024 03:214,952527,762,222208,992,00073,244,000267,960,320
4Jun 25, 2024 03:214,983529,587,918208,973,00075,068,000267,911,168
5Jun 25, 2024 03:214,989610,911,142284,393,2210268,099,584
6Jun 25, 2024 03:214,997538,635,907210,343,00074,475,000267,943,936
7Jun 25, 2024 03:214,999534,574,306214,466,00070,481,000267,976,704
8Jun 25, 2024 03:215,006541,467,293210,216,00075,149,000267,927,552
9Jun 25, 2024 03:215,007534,320,085212,291,00073,133,000268,009,472
10Jun 25, 2024 03:215,012537,064,956215,522,00070,170,000267,952,128
11Jun 25, 2024 03:215,026534,667,774204,050,00082,424,000267,862,016
12Jun 25, 2024 03:215,050550,080,243216,946,00070,924,000267,915,264