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:59Yuriy LyfenkoYuriy LyfenkoScore: 4,893Success
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:594,8241,126,204,631204,475,00070,474,000264,421,376
2Jan 22, 2024 21:594,8241,121,866,413208,453,00066,506,000266,248,192
3Jan 22, 2024 21:594,8461,128,931,517206,905,00069,298,000265,277,440
4Jan 22, 2024 21:594,8541,142,193,795212,664,00064,005,000263,999,488
5Jan 22, 2024 21:594,8651,133,857,465204,145,00073,184,000264,663,040
6Jan 22, 2024 21:594,8921,140,129,353209,400,00069,459,000264,540,160
7Jan 22, 2024 21:594,8931,143,293,213214,448,00064,440,000265,273,344
8Jan 22, 2024 21:594,8951,151,621,867204,071,00074,924,000264,601,600
9Jan 22, 2024 21:594,9011,167,507,845279,359,0910265,236,480
10Jan 22, 2024 21:594,9061,190,105,272279,624,1350264,478,720
11Jan 22, 2024 21:594,9121,196,250,971279,977,1370265,576,448
12Jan 22, 2024 21:594,9411,153,596,951201,592,00080,044,000262,569,984