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 17:37Yuriy LyfenkoYuriy LyfenkoScore: 4,664Success
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 17:374,5551,159,486,107259,622,8570266,731,520
2Jan 22, 2024 17:374,6071,176,608,035262,624,8410265,162,752
3Jan 22, 2024 17:374,6161,180,010,171263,104,1450266,244,096
4Jan 22, 2024 17:374,6501,119,297,196194,386,00070,685,000264,744,960
5Jan 22, 2024 17:374,6581,127,271,101195,422,00070,075,000265,015,296
6Jan 22, 2024 17:374,6601,122,985,439195,411,00070,226,000264,581,120
7Jan 22, 2024 17:374,6641,121,978,603195,906,00069,966,000265,572,352
8Jan 22, 2024 17:374,6791,142,919,555203,634,00063,054,000266,096,640
9Jan 22, 2024 17:374,6871,142,750,449203,737,00063,408,000265,650,176
10Jan 22, 2024 17:374,6881,135,063,868193,098,00074,118,000265,629,696
11Jan 22, 2024 17:374,6971,269,623,254194,624,00073,107,000263,704,576
12Jan 22, 2024 17:374,7081,141,842,817203,058,00065,305,000266,018,816