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 24, 2024 15:24Kyle WangKyle WangScore: 32,529Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2024 15:2432,2582,132,954,6791,838,717,8420267,771,904
2Apr 24, 2024 15:2432,5292,179,378,4371,854,164,5410267,513,856
3Apr 24, 2024 15:2432,6382,422,998,7921,860,393,1540268,075,008