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 listDec 28, 2023 23:30Yurkov AlekseyYurkov AlekseyScore: 27,314Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 28, 2023 23:3027,2992,497,973,1091,556,063,1130264,974,336
2Dec 28, 2023 23:3027,3142,429,099,6911,556,871,6140267,358,208
3Dec 28, 2023 23:3027,7133,009,716,4881,579,660,5140267,247,616