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 listJun 2, 2024 15:42Joad NacerJoad NacerScore: 13,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2024 15:426,962873,260,192396,859,3760267,870,208
2Jun 2, 2024 15:426,963855,801,648396,917,7870267,776,000
3Jun 2, 2024 15:427,030874,826,944400,691,3040267,796,480
4Jun 2, 2024 15:4212,7122,444,177,942280,674,000443,882,000267,509,760
5Jun 2, 2024 15:4212,8682,550,425,906283,824,000449,654,000267,530,240
6Jun 2, 2024 15:4212,9182,970,547,598307,319,000429,030,000267,362,304
7Jun 2, 2024 15:4213,2792,762,082,246279,490,000477,420,000258,641,920
8Jun 2, 2024 15:4213,4222,713,479,981285,135,000479,911,000267,522,048
9Jun 2, 2024 15:4213,6072,820,383,676299,650,000475,976,000267,517,952
10Jun 2, 2024 15:4213,6362,827,102,046283,101,000494,141,000256,253,952
11Jun 2, 2024 15:4213,8383,086,574,026297,945,000490,793,000267,493,376
12Jun 2, 2024 15:4213,9762,920,102,595304,918,000491,706,000265,945,088