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 listAug 31, 2024 22:09Yuriy LyfenkoYuriy LyfenkoScore: 5,159Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2024 22:094,5291,105,441,918190,378,00067,778,000264,921,088
2Aug 31, 2024 22:094,5421,104,280,660194,943,00063,965,000265,990,144
3Aug 31, 2024 22:094,5501,118,737,690191,760,00067,563,000264,142,848
4Aug 31, 2024 22:094,5601,111,507,522194,193,00065,742,000265,109,504
5Aug 31, 2024 22:094,5631,111,556,495198,146,00061,920,000265,203,712
6Aug 31, 2024 22:094,5671,121,759,748191,155,00069,141,000264,273,920
7Aug 31, 2024 22:095,1591,211,222,624195,381,00098,698,000263,639,040
8Aug 31, 2024 22:095,4461,639,348,301197,906,000112,515,000265,584,640
9Aug 31, 2024 22:095,5771,286,526,515192,542,000125,353,000264,073,216
10Aug 31, 2024 22:095,6141,312,223,534197,852,000122,143,000264,253,440
11Aug 31, 2024 22:095,6481,287,671,577198,649,000123,264,000263,942,144
12Aug 31, 2024 22:095,7051,373,222,219190,688,000134,485,000264,728,576