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 17:44Yuriy LyfenkoYuriy LyfenkoScore: 8,842Success
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 17:444,5431,158,265,115258,963,5020266,813,440
2Jan 22, 2024 17:444,5791,176,750,400260,987,5250265,293,824
3Jan 22, 2024 17:444,5971,159,979,141262,031,7300266,297,344
4Jan 22, 2024 17:448,6392,463,999,961214,353,000278,080,000266,317,824
5Jan 22, 2024 17:448,7062,466,584,808206,182,000290,070,000266,133,504
6Jan 22, 2024 17:448,7722,488,354,946213,990,000286,027,000266,063,872
7Jan 22, 2024 17:448,8422,515,098,559230,776,000273,206,000266,207,232
8Jan 22, 2024 17:448,8702,790,365,424229,723,000275,864,000266,117,120
9Jan 22, 2024 17:448,8802,540,457,430227,711,000278,428,000266,051,584
10Jan 22, 2024 17:448,8832,513,292,971216,988,000289,318,000266,215,424
11Jan 22, 2024 17:448,9422,528,018,321233,137,000276,534,000266,203,136
12Jan 22, 2024 17:448,9792,573,186,093220,555,000291,260,000266,035,200