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 listApr 1, 2024 18:19Drew GarciaDrew GarciaScore: 27,920Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 1, 2024 18:1927,9101,917,836,0071,590,854,2710267,657,216
2Apr 1, 2024 18:1927,9201,872,205,4551,591,452,9940264,835,072
3Apr 1, 2024 18:1928,1831,920,455,1041,606,455,5190266,694,656