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 19:33Yuriy LyfenkoYuriy LyfenkoScore: 5,249Success
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 19:335,1941,202,501,310296,074,5390267,153,408
2Jan 22, 2024 19:335,2231,211,432,723297,722,7210267,575,296
3Jan 22, 2024 19:335,2341,147,784,457232,281,00066,080,000264,884,224
4Jan 22, 2024 19:335,2361,153,062,864236,522,00061,922,000264,712,192
5Jan 22, 2024 19:335,2391,154,968,341231,699,00066,913,000266,031,104
6Jan 22, 2024 19:335,2411,213,831,952298,712,0850265,502,720
7Jan 22, 2024 19:335,2491,159,550,136230,141,00069,042,000265,945,088
8Jan 22, 2024 19:335,2901,162,262,834232,410,00069,122,000262,733,824
9Jan 22, 2024 19:335,3001,182,224,390233,407,00068,708,000265,367,552
10Jan 22, 2024 19:335,3111,159,209,810243,419,00059,294,000263,049,216
11Jan 22, 2024 19:335,3131,161,932,496227,650,00075,214,000262,770,688
12Jan 22, 2024 19:335,3331,166,493,891235,066,00068,898,000262,479,872