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 10, 2023 23:56Benjamin YoungBenjamin YoungScore: 35,253Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2023 23:5635,0243,232,275,0961,996,346,2350267,747,328
2Jan 10, 2023 23:5635,2533,272,246,4752,009,407,8120267,997,184
3Jan 10, 2023 23:5635,2923,348,254,6452,011,652,1810268,038,144