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 5, 2024 23:31Alexander FrolovAlexander FrolovScore: 4,922Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2024 23:314,744569,059,971270,392,7810266,661,888
2Jan 5, 2024 23:314,755582,381,136271,053,7760266,240,000
3Jan 5, 2024 23:314,779572,348,667272,383,5480267,509,760
4Jan 5, 2024 23:314,855514,192,919206,561,00070,190,000267,923,456
5Jan 5, 2024 23:314,868521,070,586207,118,00070,379,000267,960,320
6Jan 5, 2024 23:314,917533,229,728201,326,00078,951,000267,960,320
7Jan 5, 2024 23:314,922527,895,879199,538,00081,000,000267,931,648
8Jan 5, 2024 23:314,928528,941,880217,889,00062,991,000267,763,712
9Jan 5, 2024 23:314,931534,466,638207,472,00073,586,000267,714,560
10Jan 5, 2024 23:314,934528,695,271217,045,00064,196,000267,911,168
11Jan 5, 2024 23:314,936529,873,103210,497,00070,840,000267,804,672
12Jan 5, 2024 23:314,959534,663,615217,769,00064,912,000267,628,544