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 listDec 30, 2023 23:38Yurkov AlekseyYurkov AlekseyScore: 5,961Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2023 23:385,516663,545,749314,418,5500265,744,384
2Dec 30, 2023 23:385,615683,988,238320,065,5610266,248,192
3Dec 30, 2023 23:385,637703,437,996321,326,1790266,272,768
4Dec 30, 2023 23:385,894563,611,798248,673,00087,289,000266,932,224
5Dec 30, 2023 23:385,920579,127,123246,114,00091,300,000266,952,704
6Dec 30, 2023 23:385,954579,274,182257,058,00082,299,000266,739,712
7Dec 30, 2023 23:385,961579,237,768240,546,00099,225,000266,825,728
8Dec 30, 2023 23:385,985586,311,397247,002,00094,144,000266,858,496
9Dec 30, 2023 23:386,024592,925,964253,420,00089,923,000266,776,576
10Dec 30, 2023 23:386,064601,354,270247,307,00098,314,000266,993,664
11Dec 30, 2023 23:386,186599,397,476246,102,000106,476,000266,969,088
12Dec 30, 2023 23:386,207605,545,971254,892,00098,898,000266,858,496