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 24, 2024 22:51Yuriy LyfenkoYuriy LyfenkoScore: 4,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 22:514,5111,160,735,238257,124,6910265,293,824
2Jan 24, 2024 22:514,5541,111,959,671194,693,00064,897,000264,364,032
3Jan 24, 2024 22:514,5561,104,485,621189,420,00070,268,000265,535,488
4Jan 24, 2024 22:514,5681,183,411,216260,393,0520266,821,632
5Jan 24, 2024 22:514,5721,108,654,348200,326,00060,302,000264,589,312
6Jan 24, 2024 22:514,5791,112,917,731191,256,00069,729,000266,002,432
7Jan 24, 2024 22:514,5861,167,777,412261,384,3880265,789,440
8Jan 24, 2024 22:514,5941,120,183,032192,553,00069,278,000264,122,368
9Jan 24, 2024 22:514,5951,112,998,792192,739,00069,188,000264,683,520
10Jan 24, 2024 22:514,5961,103,703,554205,956,00055,988,000264,970,240
11Jan 24, 2024 22:514,6281,113,195,061194,629,00069,157,000265,539,584
12Jan 24, 2024 22:514,6351,124,141,542199,401,00064,780,000265,457,664