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 29, 2023 18:49Yuriy LyfenkoYuriy LyfenkoScore: 4,803Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2023 18:494,613558,690,005262,954,9760267,444,224
2Dec 29, 2023 18:494,634575,491,131264,149,2900265,142,272
3Dec 29, 2023 18:494,635581,978,723264,167,0760265,588,736
4Dec 29, 2023 18:494,775510,893,053205,138,00067,025,000267,935,744
5Dec 29, 2023 18:494,785506,010,510200,493,00072,259,000268,034,048
6Dec 29, 2023 18:494,799521,312,610207,250,00066,320,000267,894,784
7Dec 29, 2023 18:494,803518,910,423195,841,00077,946,000267,829,248
8Dec 29, 2023 18:494,820510,739,306199,989,00074,743,000267,862,016
9Dec 29, 2023 18:494,836519,443,321200,580,00075,094,000268,017,664
10Dec 29, 2023 18:495,659579,989,655212,389,000110,201,000267,681,792
11Dec 29, 2023 18:495,829581,830,510214,811,000117,443,000267,714,560
12Dec 29, 2023 18:495,854594,013,450233,368,000100,307,000267,698,176