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 listJun 2, 2024 16:29Joad NacerJoad NacerScore: 13,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2024 16:295,180380,435,683295,278,8700267,980,800
2Jun 2, 2024 16:295,225373,546,679297,839,0200268,144,640
3Jun 2, 2024 16:296,262650,705,039356,961,0140267,227,136
4Jun 2, 2024 16:2910,6452,221,494,577277,119,000329,658,000267,587,584
5Jun 2, 2024 16:2910,8782,246,395,233271,401,000348,638,000267,636,736
6Jun 2, 2024 16:2912,9582,538,335,067274,456,000464,155,000267,501,568
7Jun 2, 2024 16:2913,4532,729,554,532277,527,000489,269,000267,567,104
8Jun 2, 2024 16:2913,5622,761,371,091282,643,000490,407,000267,583,488
9Jun 2, 2024 16:2913,5702,732,572,004282,905,000490,570,000264,921,088
10Jun 2, 2024 16:2913,6102,785,735,035293,593,000482,193,000265,433,088
11Jun 2, 2024 16:2913,6102,816,740,545284,598,000491,195,000267,436,032
12Jun 2, 2024 16:2913,6872,828,489,294271,148,000509,032,000267,370,496