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 22, 2024 01:08Yuriy LyfenkoYuriy LyfenkoScore: 5,683Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 01:085,5851,163,313,929261,031,00057,324,000264,577,024
2Jan 22, 2024 01:085,5881,163,715,980257,226,00061,292,000264,998,912
3Jan 22, 2024 01:085,6051,170,197,559252,957,00066,514,000263,974,912
4Jan 22, 2024 01:085,6131,172,117,479247,558,00072,408,000264,777,728
5Jan 22, 2024 01:085,6361,172,589,966251,091,00070,186,000264,101,888
6Jan 22, 2024 01:085,6561,178,260,234258,108,00064,272,000265,940,992
7Jan 22, 2024 01:085,6831,193,610,045249,081,00074,822,000262,877,184
8Jan 22, 2024 01:085,6931,196,134,761250,845,00073,660,000262,533,120
9Jan 22, 2024 01:085,6941,192,528,540254,808,00069,769,000262,467,584
10Jan 22, 2024 01:086,2441,254,043,996355,906,1290266,674,176
11Jan 22, 2024 01:086,2491,249,001,487356,187,7110265,154,560
12Jan 22, 2024 01:086,3481,288,758,599361,810,1640265,052,160