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 22, 2023 17:49Yuriy LyfenkoYuriy LyfenkoScore: 5,320Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 17:495,2921,452,253,460301,635,3730266,018,816
2Dec 22, 2023 17:495,2921,146,994,993207,673,00093,947,000266,911,744
3Dec 22, 2023 17:495,2941,152,906,008215,241,00086,508,000266,743,808
4Dec 22, 2023 17:495,2961,510,097,569301,873,4600266,878,976
5Dec 22, 2023 17:495,2961,143,456,307202,206,00099,652,000266,858,496
6Dec 22, 2023 17:495,3141,161,834,093216,789,00086,107,000266,956,800
7Dec 22, 2023 17:495,3201,155,098,147219,426,00083,837,000266,723,328
8Dec 22, 2023 17:495,3261,154,484,933210,016,00093,562,000266,784,768
9Dec 22, 2023 17:495,3391,462,451,744304,313,6530265,232,384
10Dec 22, 2023 17:495,5011,178,006,463211,355,000102,204,000266,821,632
11Dec 22, 2023 17:495,5291,172,605,036204,911,000110,262,000266,969,088
12Dec 22, 2023 17:495,5721,161,288,114220,822,00096,798,000266,907,648