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 13:42Joad NacerJoad NacerScore: 13,307Success
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 13:426,858833,595,441390,884,8400267,649,024
2Jun 2, 2024 13:426,921856,150,841394,500,3530267,845,632
3Jun 2, 2024 13:426,947875,492,989395,983,3800267,788,288
4Jun 2, 2024 13:4212,7262,502,145,055280,198,000445,204,000267,575,296
5Jun 2, 2024 13:4213,0152,616,791,018272,121,000469,745,000253,894,656
6Jun 2, 2024 13:4213,2122,647,991,962271,472,000481,612,000267,415,552
7Jun 2, 2024 13:4213,3072,742,314,571281,199,000477,312,000267,579,392
8Jun 2, 2024 13:4213,3532,753,565,575282,495,000478,642,000267,567,104
9Jun 2, 2024 13:4213,3602,752,920,293273,936,000487,565,000267,542,528
10Jun 2, 2024 13:4213,4322,769,688,874274,864,000490,753,000267,333,632
11Jun 2, 2024 13:4213,4722,746,593,751282,039,000485,849,000253,059,072
12Jun 2, 2024 13:4213,7912,457,064,343269,346,000516,745,000267,558,912