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 31, 2023 13:30Alexander FrolovAlexander FrolovScore: 5,673Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2023 13:305,104596,149,350290,917,3060264,941,568
2Dec 31, 2023 13:305,105584,286,361290,999,9900267,370,496
3Dec 31, 2023 13:305,113608,621,852291,452,7550267,202,560
4Dec 31, 2023 13:305,214533,647,177226,734,00070,471,000267,628,544
5Dec 31, 2023 13:305,219529,819,607229,131,00068,337,000267,735,040
6Dec 31, 2023 13:305,264538,015,545227,059,00072,983,000267,988,992
7Dec 31, 2023 13:305,673558,291,368243,573,00079,809,000267,747,328
8Dec 31, 2023 13:305,851564,082,400235,248,00098,268,000267,825,152
9Dec 31, 2023 13:306,358616,273,248252,879,000109,547,000267,616,256
10Dec 31, 2023 13:306,444617,094,830247,244,000120,061,000267,599,872
11Dec 31, 2023 13:306,586639,217,214254,356,000121,073,000267,358,208
12Dec 31, 2023 13:306,805633,779,442259,936,000127,937,000267,227,136