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 10:26Vadim AlekseevVadim AlekseevScore: 6,922Success
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 10:266,751686,691,801384,822,6860264,265,728
2Dec 30, 2023 10:266,783710,532,549386,634,0020262,856,704
3Dec 30, 2023 10:266,818725,211,033388,615,7820263,671,808
4Dec 30, 2023 10:266,850664,114,931299,869,00090,585,000264,404,992
5Dec 30, 2023 10:266,868641,437,837296,897,00094,559,000264,069,120
6Dec 30, 2023 10:266,879646,308,264295,886,00096,239,000264,380,416
7Dec 30, 2023 10:266,922653,256,652299,022,00095,521,000264,450,048
8Dec 30, 2023 10:266,929665,950,607289,033,000105,913,000264,589,312
9Dec 30, 2023 10:266,943665,526,850302,521,00093,242,000264,572,928
10Dec 30, 2023 10:267,012660,365,793298,221,000101,456,000264,593,408
11Dec 30, 2023 10:267,034680,260,577303,567,00097,390,000263,172,096
12Dec 30, 2023 10:267,110666,245,499276,616,000128,682,000264,515,584