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:54Benjamin YoungBenjamin YoungScore: 35,346Success
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:5435,0762,964,899,3601,999,357,3160267,493,376
2Jan 10, 2023 23:5435,3463,247,430,9512,014,744,3970268,029,952
3Jan 10, 2023 23:5435,3533,422,132,0592,015,113,5320268,034,048