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, 2024 23:43Joad NacerJoad NacerScore: 3,893Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2024 23:433,878246,641,129178,212,00042,810,000250,302,464
2Dec 30, 2024 23:433,882246,055,670202,344,00018,938,000250,302,464
3Dec 30, 2024 23:433,883252,133,778196,386,00024,922,000250,318,848
4Dec 30, 2024 23:433,884251,039,536196,476,00024,933,000250,032,128
5Dec 30, 2024 23:433,893243,164,662208,921,00012,995,000250,044,416
6Dec 30, 2024 23:433,893242,770,178198,929,00022,991,000250,331,136
7Dec 30, 2024 23:433,909245,649,464207,839,00014,988,000250,294,272
8Dec 30, 2024 23:433,911243,910,691208,958,00013,997,000250,286,080
9Dec 30, 2024 23:433,918254,482,326199,406,00023,928,000250,023,936