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 3, 2024 22:36Alexander FrolovAlexander FrolovScore: 5,236Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2024 22:365,080572,404,740289,586,1430265,916,416
2Jan 3, 2024 22:365,105593,479,323291,006,5450266,518,528
3Jan 3, 2024 22:365,217529,068,293224,801,00072,581,000267,886,592
4Jan 3, 2024 22:365,228539,188,992216,355,00081,625,000267,853,824
5Jan 3, 2024 22:365,231600,482,967298,174,7970264,445,952
6Jan 3, 2024 22:365,233541,762,117212,496,00085,778,000267,952,128
7Jan 3, 2024 22:365,236537,550,172222,591,00075,860,000267,886,592
8Jan 3, 2024 22:365,258549,996,915227,563,00072,129,000267,759,616
9Jan 3, 2024 22:365,292542,408,390229,833,00071,823,000267,919,360
10Jan 3, 2024 22:365,293545,162,135229,564,00072,119,000267,952,128
11Jan 3, 2024 22:365,300546,022,703227,821,00074,289,000267,919,360
12Jan 3, 2024 22:365,320556,885,043234,580,00068,632,000267,804,672