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 30, 2023 10:27Vadim AlekseevVadim AlekseevScore: 6,893Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2023 10:276,743696,066,782384,327,2970264,327,168
2Dec 30, 2023 10:276,744681,218,857384,402,4630262,414,336
3Dec 30, 2023 10:276,787683,752,904386,842,5180264,331,264
4Dec 30, 2023 10:276,863653,885,870289,860,000101,349,000264,368,128
5Dec 30, 2023 10:276,868645,042,763299,547,00091,930,000264,609,792
6Dec 30, 2023 10:276,891652,816,595297,433,00095,344,000264,560,640
7Dec 30, 2023 10:276,893663,765,045291,632,000101,261,000264,359,936
8Dec 30, 2023 10:276,907643,219,649299,184,00094,533,000264,589,312
9Dec 30, 2023 10:276,912647,544,278301,099,00092,881,000264,589,312
10Dec 30, 2023 10:277,110680,922,090286,497,000118,766,000264,495,104
11Dec 30, 2023 10:277,146685,817,155301,346,000105,990,000264,388,608
12Dec 30, 2023 10:277,171687,423,484299,226,000109,547,000264,458,240