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 listDec 22, 2023 17:20Yuriy LyfenkoYuriy LyfenkoScore: 5,847Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 17:205,671869,411,811323,268,7670263,847,936
2Dec 22, 2023 17:205,676840,291,453323,544,6050262,307,840
3Dec 22, 2023 17:205,710845,967,616325,485,5480262,905,856
4Dec 22, 2023 17:205,800601,883,402227,793,000102,809,000265,052,160
5Dec 22, 2023 17:205,801593,243,518235,152,00095,498,000264,916,992
6Dec 22, 2023 17:205,821590,594,402244,370,00087,425,000264,896,512
7Dec 22, 2023 17:205,847593,588,047237,008,00096,252,000264,953,856
8Dec 22, 2023 17:205,883600,028,362231,766,000103,577,000264,986,624
9Dec 22, 2023 17:205,891595,978,510237,220,00098,585,000265,064,448
10Dec 22, 2023 17:205,949596,236,768236,083,000103,036,000264,949,760
11Dec 22, 2023 17:206,003617,081,440236,187,000105,981,000265,084,928
12Dec 22, 2023 17:206,037620,150,334240,895,000103,240,000264,826,880