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 26, 2024 16:41Joad NacerJoad NacerScore: 4,125Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 26, 2024 16:414,105255,938,121208,964,00024,995,000250,200,064
2Dec 26, 2024 16:414,110262,541,863207,364,00026,917,000250,273,792
3Dec 26, 2024 16:414,124262,709,302212,071,00023,007,000250,208,256
4Dec 26, 2024 16:414,125257,164,233213,102,00022,010,000250,269,696
5Dec 26, 2024 16:414,125259,218,597209,102,00026,012,000250,294,272
6Dec 26, 2024 16:414,128262,275,256209,242,00026,030,000250,277,888
7Dec 26, 2024 16:414,130256,649,417209,472,00025,934,000250,306,560
8Dec 26, 2024 16:414,130262,990,425208,481,00026,932,000250,212,352
9Dec 26, 2024 16:414,130261,882,339210,493,00024,940,000250,290,176