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 21, 2024 21:09Yuriy LyfenkoYuriy LyfenkoScore: 4,607Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 21:094,5131,093,425,438192,941,00064,313,000265,846,784
2Jan 21, 2024 21:094,5201,107,905,219189,252,00068,368,000263,872,512
3Jan 21, 2024 21:094,5311,109,339,910182,963,00075,281,000264,609,792
4Jan 21, 2024 21:094,5611,117,041,108190,985,00068,994,000266,100,736
5Jan 21, 2024 21:094,5971,121,460,631192,987,00069,069,000262,553,600
6Jan 21, 2024 21:094,6051,123,022,541193,096,00069,394,000263,286,784
7Jan 21, 2024 21:094,6071,115,116,112193,515,00069,112,000261,545,984
8Jan 21, 2024 21:094,6171,145,786,062263,160,0600267,313,152
9Jan 21, 2024 21:094,6191,122,870,425197,710,00065,562,000265,969,664
10Jan 21, 2024 21:094,6241,164,115,115263,585,2500267,182,080
11Jan 21, 2024 21:094,6241,131,865,879197,431,00066,149,000262,520,832
12Jan 21, 2024 21:094,6621,175,613,455265,716,2610267,153,408