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 listJan 22, 2024 22:08Yuriy LyfenkoYuriy LyfenkoScore: 4,602Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 22:084,5541,159,409,135191,023,00068,572,000264,654,848
2Jan 22, 2024 22:084,5701,174,811,855197,917,00062,554,000265,732,096
3Jan 22, 2024 22:084,5711,153,146,669194,420,00066,142,000266,133,504
4Jan 22, 2024 22:084,5781,153,307,072199,560,00061,403,000266,166,272
5Jan 22, 2024 22:084,5851,160,406,337200,179,00061,194,000264,568,832
6Jan 22, 2024 22:084,5961,209,409,175261,957,3600265,097,216
7Jan 22, 2024 22:084,6021,209,116,017262,322,7370267,141,120
8Jan 22, 2024 22:084,6151,174,664,155206,028,00057,054,000265,035,776
9Jan 22, 2024 22:084,6301,185,959,070198,969,00064,969,000264,589,312
10Jan 22, 2024 22:084,6321,169,808,410204,217,00059,821,000264,417,280
11Jan 22, 2024 22:084,6551,222,684,668265,348,3550264,806,400
12Jan 22, 2024 22:084,6641,179,582,819192,174,00073,683,000262,496,256