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 21, 2023 23:37Kenneth MaplesKenneth MaplesScore: 5,330Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2023 23:375,169539,089,140224,727,00069,915,000267,911,168
2Dec 21, 2023 23:375,191534,651,079228,799,00067,114,000268,042,240
3Dec 21, 2023 23:375,210536,166,336230,653,00066,338,000267,984,896
4Dec 21, 2023 23:375,217529,554,362222,759,00074,589,000268,021,760
5Dec 21, 2023 23:375,250536,918,762230,809,00068,425,000267,915,264
6Dec 21, 2023 23:375,299558,827,626221,622,00080,402,000267,927,552
7Dec 21, 2023 23:375,3301,115,522,215303,822,8390266,465,280
8Dec 21, 2023 23:375,3471,174,187,568304,787,2840266,379,264
9Dec 21, 2023 23:375,533555,797,405232,476,00082,882,000268,009,472
10Dec 21, 2023 23:375,6311,431,858,265320,959,1810267,657,216
11Dec 21, 2023 23:375,835581,399,037239,639,00092,963,000267,870,208
12Dec 21, 2023 23:376,082596,842,269233,794,000112,866,000267,907,072