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 listMay 31, 2024 21:24Joad NacerJoad NacerScore: 10,241Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 31, 2024 21:2410,1011,101,616,456575,732,9310267,681,792
2May 31, 2024 21:2410,2411,143,373,367583,731,2280267,583,488
3May 31, 2024 21:2410,2671,155,058,877585,214,0400267,780,096