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 18:07Yuriy LyfenkoYuriy LyfenkoScore: 4,680Success
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 18:074,5871,156,486,539261,439,0460267,800,576
2Jan 22, 2024 18:074,6431,194,172,524264,638,3790266,416,128
3Jan 22, 2024 18:074,6451,090,278,827195,574,00069,203,000267,759,616
4Jan 22, 2024 18:074,6631,165,735,632265,772,3990266,870,784
5Jan 22, 2024 18:074,6631,109,408,738199,852,00065,930,000267,874,304
6Jan 22, 2024 18:074,6751,125,192,075199,582,00066,865,000267,800,576
7Jan 22, 2024 18:074,6801,109,730,836202,121,00064,637,000267,886,592
8Jan 22, 2024 18:074,6831,118,156,412185,610,00081,324,000267,792,384
9Jan 22, 2024 18:074,6911,127,982,125198,529,00068,877,000267,984,896
10Jan 22, 2024 18:074,7031,124,692,456210,256,00057,820,000267,833,344
11Jan 22, 2024 18:074,7031,117,171,640201,575,00066,509,000267,870,208
12Jan 22, 2024 18:074,7171,121,815,806196,616,00072,226,000267,902,976