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 22, 2023 17:58Yuriy LyfenkoYuriy LyfenkoScore: 5,459Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 17:585,2951,138,876,657212,444,00089,345,000266,833,920
2Dec 22, 2023 17:585,3301,146,561,114218,448,00085,347,000266,915,840
3Dec 22, 2023 17:585,3311,159,630,179218,210,00085,652,000266,928,128
4Dec 22, 2023 17:585,3341,154,742,359220,819,00083,192,000266,776,576
5Dec 22, 2023 17:585,3651,151,191,890215,664,00090,113,000266,203,136
6Dec 22, 2023 17:585,3801,156,217,022219,787,00086,892,000266,907,648
7Dec 22, 2023 17:585,4591,457,432,205311,186,2270264,249,344
8Dec 22, 2023 17:585,4731,158,571,401219,196,00092,776,000266,952,704
9Dec 22, 2023 17:585,4791,544,114,746312,292,2680266,084,352
10Dec 22, 2023 17:585,4951,161,760,790214,196,00099,015,000266,772,480
11Dec 22, 2023 17:585,4961,484,755,227313,246,3700264,204,288
12Dec 22, 2023 17:585,5711,180,953,309219,223,00098,343,000266,481,664