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 29, 2023 16:02Yuriy LyfenkoYuriy LyfenkoScore: 5,360Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2023 16:025,1561,211,278,230293,865,4240264,425,472
2Dec 29, 2023 16:025,1661,221,129,929294,441,3970265,945,088
3Dec 29, 2023 16:025,2551,263,219,218299,529,6290266,440,704
4Dec 29, 2023 16:025,3131,145,484,605219,235,00083,615,000266,776,576
5Dec 29, 2023 16:025,3191,145,562,184218,904,00084,273,000266,924,032
6Dec 29, 2023 16:025,3511,145,531,827215,855,00089,179,000266,919,936
7Dec 29, 2023 16:025,3601,147,637,270211,295,00094,239,000266,706,944
8Dec 29, 2023 16:025,3701,142,929,966217,193,00088,897,000266,874,880
9Dec 29, 2023 16:025,3771,156,363,965215,765,00090,742,000266,924,032
10Dec 29, 2023 16:025,3831,165,058,986223,515,00083,310,000266,846,208
11Dec 29, 2023 16:025,4061,160,912,600221,584,00086,572,000266,870,784
12Dec 29, 2023 16:025,4951,172,331,522214,159,00099,073,000266,883,072