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 11:37Vadim AlekseevVadim AlekseevScore: 6,907Success
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 11:376,758708,614,728385,192,3080263,643,136
2Dec 30, 2023 11:376,786697,325,500386,787,1950264,114,176
3Dec 30, 2023 11:376,803697,683,075387,783,5390264,138,752
4Dec 30, 2023 11:376,865642,845,465284,044,000107,261,000264,572,928
5Dec 30, 2023 11:376,872656,064,272290,041,000101,664,000264,564,736
6Dec 30, 2023 11:376,896661,244,291295,055,00098,007,000264,421,376
7Dec 30, 2023 11:376,907653,191,497287,370,000106,357,000264,417,280
8Dec 30, 2023 11:376,919665,527,390285,918,000108,486,000264,564,736
9Dec 30, 2023 11:376,934661,034,121292,305,000102,924,000264,531,968
10Dec 30, 2023 11:376,943663,816,824299,164,00096,605,000264,585,216
11Dec 30, 2023 11:377,010651,079,229293,500,000106,096,000264,609,792
12Dec 30, 2023 11:377,064667,183,185288,938,000113,731,000264,380,416