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 listNov 5, 2024 05:09Lucas Sta MariaLucas Sta MariaScore: 407,050Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2024 05:09405,07123,382,548,19511,453,647,00011,635,388,000267,931,648
2Nov 5, 2024 05:09405,59123,407,678,41611,605,819,00011,512,852,000268,050,432
3Nov 5, 2024 05:09406,43523,445,994,36411,533,428,00011,633,371,000268,095,488
4Nov 5, 2024 05:09406,48823,467,083,72111,621,364,00011,548,449,000268,013,568
5Nov 5, 2024 05:09407,05023,493,316,97111,676,425,00011,525,446,000268,009,472
6Nov 5, 2024 05:09408,03623,538,167,04211,661,010,00011,597,038,000268,115,968
7Nov 5, 2024 05:09413,37223,849,732,55211,535,863,00012,026,347,000267,907,072
8Nov 5, 2024 05:09421,00924,280,183,11012,368,559,00011,628,944,000268,115,968
9Nov 5, 2024 05:09433,08924,967,026,77912,171,887,00012,514,193,000267,980,800