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 22, 2024 02:33Yuriy LyfenkoYuriy LyfenkoScore: 4,688Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 02:334,6401,113,120,569194,662,00069,803,000264,572,928
2Jan 22, 2024 02:334,6451,120,026,025210,343,00054,417,000265,801,728
3Jan 22, 2024 02:334,6721,127,744,790201,485,00064,834,000265,945,088
4Jan 22, 2024 02:334,6751,121,671,766198,128,00068,354,000263,032,832
5Jan 22, 2024 02:334,6791,170,567,305266,686,5340266,055,680
6Jan 22, 2024 02:334,6811,147,653,551266,841,3550264,265,728
7Jan 22, 2024 02:334,6881,133,894,810203,221,00064,014,000264,196,096
8Jan 22, 2024 02:334,6891,121,903,251203,260,00064,026,000265,465,856
9Jan 22, 2024 02:334,7001,157,134,202267,911,8110266,915,840
10Jan 22, 2024 02:334,7181,137,606,031197,427,00071,517,000264,839,168
11Jan 22, 2024 02:334,7241,131,815,459200,437,00068,837,000263,036,928
12Jan 22, 2024 02:334,7361,144,468,725192,411,00077,538,000265,355,264