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 21:40Yuriy LyfenkoYuriy LyfenkoScore: 5,257Success
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 21:405,1941,151,750,523230,401,00065,684,000265,605,120
2Jan 22, 2024 21:405,1991,155,493,812224,705,00071,631,000265,568,256
3Jan 22, 2024 21:405,2311,165,599,988233,851,00064,334,000265,650,176
4Jan 22, 2024 21:405,2311,160,420,977225,365,00072,825,000264,560,640
5Jan 22, 2024 21:405,2331,174,068,771234,151,00064,137,000264,540,160
6Jan 22, 2024 21:405,2531,172,063,306233,793,00065,626,000264,884,224
7Jan 22, 2024 21:405,2571,160,274,313228,495,00071,154,000264,159,232
8Jan 22, 2024 21:405,2571,187,574,531231,826,00067,827,000265,441,280
9Jan 22, 2024 21:405,2871,174,911,475227,008,00074,330,000263,360,512
10Jan 22, 2024 21:405,3831,215,696,887306,838,7070265,142,272
11Jan 22, 2024 21:405,3961,206,861,080307,593,0910265,179,136
12Jan 22, 2024 21:405,4141,240,577,777308,585,4500265,375,744