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:50Alexander FrolovAlexander FrolovScore: 5,162Success
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:504,974570,258,231283,519,4700265,461,760
2Jan 5, 2024 22:505,026596,646,752286,464,7700265,150,464
3Jan 5, 2024 22:505,027579,444,973286,526,3120267,517,952
4Jan 5, 2024 22:505,116528,999,528227,046,00064,582,000267,694,080
5Jan 5, 2024 22:505,131532,164,104226,806,00065,654,000267,522,048
6Jan 5, 2024 22:505,154537,201,189206,069,00087,732,000267,972,608
7Jan 5, 2024 22:505,162542,631,871238,295,00055,947,000267,943,936
8Jan 5, 2024 22:505,167546,151,818227,392,00067,115,000267,976,704
9Jan 5, 2024 22:505,169534,507,854223,232,00071,394,000267,915,264
10Jan 5, 2024 22:505,174545,393,696231,944,00062,985,000267,935,744
11Jan 5, 2024 22:505,178544,134,857227,902,00067,266,000267,878,400
12Jan 5, 2024 22:505,183551,857,121232,504,00062,948,000267,898,880