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 30, 2023 23:55Simon ThorningtonSimon ThorningtonScore: 7,254Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2023 00:047,209713,431,046410,920,8300268,259,328
2Dec 30, 2023 23:557,238725,037,950412,565,7690264,859,648
3Dec 31, 2023 00:047,242725,891,850412,818,2500266,539,008
4Dec 30, 2023 23:557,254719,966,819413,474,3600266,620,928
5Dec 31, 2023 00:047,265716,638,646414,109,6670265,920,512
6Dec 30, 2023 23:557,312712,043,947416,795,6560266,055,680