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 listJul 8, 2023 21:19gchebanovgchebanovScore: 5,385Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 21:195,324538,907,623218,038,00085,406,000267,722,752
2Jul 8, 2023 21:195,330541,182,764217,164,00086,666,000267,698,176
3Jul 8, 2023 21:195,349554,122,764213,328,00091,570,000267,915,264
4Jul 8, 2023 21:195,373551,968,893223,632,00082,603,000267,849,728
5Jul 8, 2023 21:195,374564,730,204217,337,00088,956,000267,853,824
6Jul 8, 2023 21:195,378547,590,831214,593,00091,968,000267,857,920
7Jul 8, 2023 21:195,385556,614,052217,369,00089,564,000267,886,592
8Jul 8, 2023 21:195,389545,961,474223,380,00083,767,000267,931,648
9Jul 8, 2023 21:195,393557,569,746220,023,00087,406,000267,595,776
10Jul 8, 2023 21:196,0641,542,473,645345,626,4630264,507,392
11Jul 8, 2023 21:196,1491,655,330,454350,499,5460267,587,584
12Jul 8, 2023 21:196,1991,585,202,176353,360,0170267,501,568