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 16:43Joad NacerJoad NacerScore: 13,061Success
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 16:435,264380,143,289300,031,7470268,107,776
2Jun 2, 2024 16:435,317376,619,042303,089,6900268,169,216
3Jun 2, 2024 16:435,380386,175,076306,666,8710268,214,272
4Jun 2, 2024 16:4310,6132,163,904,629255,947,000349,019,000267,771,904
5Jun 2, 2024 16:4312,8772,791,486,779286,860,000447,134,000265,691,136
6Jun 2, 2024 16:4312,9312,557,256,545265,471,000471,602,000260,055,040
7Jun 2, 2024 16:4313,0612,614,502,262280,464,000464,003,000261,779,456
8Jun 2, 2024 16:4313,2342,712,439,329271,195,000483,163,000262,950,912
9Jun 2, 2024 16:4313,2582,684,023,843277,234,000478,486,000264,855,552
10Jun 2, 2024 16:4313,2642,700,110,062278,704,000477,344,000267,444,224
11Jun 2, 2024 16:4313,2882,724,233,240269,611,000487,818,000264,310,784
12Jun 2, 2024 16:4313,4573,064,854,059294,696,000472,365,000265,580,544