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 15, 2024 00:15Joad NacerJoad NacerScore: 9,488Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2024 00:159,4181,062,615,150536,831,5010267,689,984
2May 15, 2024 00:159,4881,054,440,038540,825,0750267,767,808
3May 15, 2024 00:159,5861,115,126,505546,410,1230267,788,288