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 22, 2024 18:05Andrey LikhachevAndrey LikhachevScore: 5,849Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2024 18:055,805595,874,147229,846,000101,053,000263,745,536
2Aug 22, 2024 18:055,806601,945,890233,300,00097,615,000263,790,592
3Aug 22, 2024 18:055,823599,372,799237,207,00094,687,000263,839,744
4Aug 22, 2024 18:055,832594,293,489229,991,000102,433,000263,876,608
5Aug 22, 2024 18:055,845618,855,814235,128,00098,053,000263,880,704
6Aug 22, 2024 18:055,849595,444,121224,453,000108,939,000263,712,768
7Aug 22, 2024 18:055,849600,595,292226,162,000107,232,000263,835,648
8Aug 22, 2024 18:055,979624,142,083221,040,000119,770,000263,131,136
9Aug 22, 2024 18:056,100625,445,537220,486,000127,241,000263,741,440
10Aug 22, 2024 18:056,197857,043,859353,245,7730260,087,808
11Aug 22, 2024 18:056,230868,482,817355,113,0330259,604,480
12Aug 22, 2024 18:056,273896,202,952357,574,8720261,804,032