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:16Yuriy LyfenkoYuriy LyfenkoScore: 4,583Success
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:164,5621,114,184,209197,079,00062,941,000265,842,688
2Jan 22, 2024 02:164,5681,114,106,593195,531,00064,844,000264,134,656
3Jan 22, 2024 02:164,5691,168,057,095260,441,6180267,104,256
4Jan 22, 2024 02:164,5721,118,723,852197,507,00063,120,000265,572,352
5Jan 22, 2024 02:164,5801,118,113,559198,856,00062,206,000263,729,152
6Jan 22, 2024 02:164,5821,117,261,845196,633,00064,520,000266,076,160
7Jan 22, 2024 02:164,5831,125,088,636188,811,00072,393,000265,928,704
8Jan 22, 2024 02:164,5941,103,745,940198,947,00062,932,000265,572,352
9Jan 22, 2024 02:164,6001,162,294,092262,220,6850265,359,360
10Jan 22, 2024 02:164,6071,129,952,373188,395,00074,186,000265,728,000
11Jan 22, 2024 02:164,6261,136,103,784183,582,00080,073,000263,970,816
12Jan 22, 2024 02:164,6371,186,074,024264,292,5340267,112,448