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 24, 2024 22:49Yuriy LyfenkoYuriy LyfenkoScore: 4,594Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 22:494,5161,160,995,309257,420,2570264,269,824
2Jan 24, 2024 22:494,5441,152,479,859259,027,5130267,182,080
3Jan 24, 2024 22:494,5521,155,665,346259,481,5940266,084,352
4Jan 24, 2024 22:494,5561,106,902,325186,442,00073,245,000264,749,056
5Jan 24, 2024 22:494,5581,115,641,358197,644,00062,145,000266,215,424
6Jan 24, 2024 22:494,5841,117,777,294195,736,00065,576,000265,953,280
7Jan 24, 2024 22:494,5941,113,121,306197,395,00064,455,000265,818,112
8Jan 24, 2024 22:494,6061,115,458,374192,517,00070,006,000265,555,968
9Jan 24, 2024 22:494,6211,124,654,767198,538,00064,849,000264,728,576
10Jan 24, 2024 22:494,6241,126,400,950198,448,00065,131,000265,932,800
11Jan 24, 2024 22:494,6371,130,779,663186,590,00077,746,000265,478,144
12Jan 24, 2024 22:494,6471,130,953,862200,198,00064,679,000262,967,296