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 7, 2024 23:31Joad NacerJoad NacerScore: 5,547Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 7, 2024 23:315,461602,192,425235,992,00075,273,000265,023,488
2Dec 7, 2024 23:315,471626,930,645239,404,00072,424,000265,494,528
3Dec 7, 2024 23:315,506629,752,571236,144,00077,705,000265,396,224
4Dec 7, 2024 23:315,518603,014,524233,117,00081,390,000265,498,624
5Dec 7, 2024 23:315,547619,910,106244,167,00071,998,000265,342,976
6Dec 7, 2024 23:315,573645,606,564246,393,00071,296,000265,527,296
7Dec 7, 2024 23:315,585644,548,895237,750,00080,610,000265,375,744
8Dec 7, 2024 23:315,594647,204,509253,827,00065,056,000265,568,256
9Dec 7, 2024 23:315,603654,616,888238,005,00081,369,000265,187,328