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:10Yuriy LyfenkoYuriy LyfenkoScore: 5,079Success
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:104,7731,120,149,495213,521,00058,513,000264,835,072
2Aug 31, 2024 22:104,7851,133,808,057216,156,00056,612,000264,679,424
3Aug 31, 2024 22:104,7931,133,230,780208,624,00064,574,000264,368,128
4Aug 31, 2024 22:104,8061,122,365,222202,959,00070,985,000266,231,808
5Aug 31, 2024 22:104,8421,145,455,478204,735,00071,255,000263,000,064
6Aug 31, 2024 22:104,8521,129,429,606203,959,00072,629,000262,631,424
7Aug 31, 2024 22:105,0791,329,011,645207,081,00082,430,000265,691,136
8Aug 31, 2024 22:105,1781,196,525,415205,689,00089,430,000262,533,120
9Aug 31, 2024 22:105,6241,295,289,153204,373,000116,212,000263,995,392
10Aug 31, 2024 22:105,7371,371,499,330206,226,000120,790,000265,478,144
11Aug 31, 2024 22:106,1671,331,721,925209,671,000141,836,000265,719,808
12Aug 31, 2024 22:106,1761,336,427,887203,333,000148,706,000265,924,608