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 21, 2024 21:18Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 21:1600000Error: line 16115587: expected 1608992246 got 16stderr
2Jan 21, 2024 21:184,5661,108,058,567194,686,00065,557,000264,708,096
3Jan 21, 2024 21:184,5671,166,832,485260,338,1650265,007,104
4Jan 21, 2024 21:184,5861,159,473,955261,421,8070267,292,672
5Jan 21, 2024 21:184,5861,107,522,707192,842,00068,588,000265,580,544
6Jan 21, 2024 21:184,5871,159,554,076261,474,2350267,329,536
7Jan 21, 2024 21:184,5951,116,089,416192,460,00069,444,000264,585,216
8Jan 21, 2024 21:184,6021,104,450,737198,739,00063,556,000265,711,616
9Jan 21, 2024 21:184,6331,122,946,688204,814,00059,260,000265,719,808
10Jan 21, 2024 21:184,6441,121,769,576200,547,00064,175,000263,667,712
11Jan 21, 2024 21:184,6591,123,573,364188,827,00076,711,000262,496,256
12Jan 21, 2024 21:184,6671,142,487,822201,807,00064,211,000263,626,752
13Jan 21, 2024 21:184,6681,134,590,956192,455,00073,643,000262,983,680