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 22:45Alexander FrolovAlexander FrolovScore: 5,296Success
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 22:455,132561,587,653292,507,7060266,948,608
2Jan 5, 2024 22:455,144582,841,829293,184,6270265,199,616
3Jan 5, 2024 22:455,209613,993,818296,909,7010266,821,632
4Jan 5, 2024 22:455,278529,922,451237,978,00062,842,000267,845,632
5Jan 5, 2024 22:455,287540,983,704236,790,00064,579,000267,825,152
6Jan 5, 2024 22:455,291534,119,809233,538,00068,030,000267,800,576
7Jan 5, 2024 22:455,296540,968,763232,772,00069,120,000267,993,088
8Jan 5, 2024 22:455,328554,548,495229,260,00074,408,000267,837,440
9Jan 5, 2024 22:455,334554,975,222235,890,00068,123,000267,886,592
10Jan 5, 2024 22:455,339550,546,527233,560,00070,775,000267,894,784
11Jan 5, 2024 22:455,352560,615,023224,036,00081,013,000267,980,800
12Jan 5, 2024 22:455,353548,814,508235,178,00069,945,000267,792,384