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 listNov 24, 2024 18:34E SequeiraE SequeiraScore: 422,670Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 24, 2024 18:34420,87524,278,187,78312,400,803,00011,589,078,000267,952,128
2Nov 24, 2024 18:34421,35624,300,958,87512,401,304,00011,615,981,000267,968,512
3Nov 24, 2024 18:34421,70024,336,545,70812,532,824,00011,504,085,000267,988,992
4Nov 24, 2024 18:34422,17524,346,641,42312,485,605,00011,578,360,000268,066,816
5Nov 24, 2024 18:34422,67024,377,815,10812,616,183,00011,475,980,000268,165,120
6Nov 24, 2024 18:34422,77524,376,875,97412,582,353,00011,515,831,000267,952,128
7Nov 24, 2024 18:34423,03724,390,970,44712,482,261,00011,630,857,000268,025,856
8Nov 24, 2024 18:34424,07724,453,349,59112,397,455,00011,774,934,000267,993,088
9Nov 24, 2024 18:34425,09424,530,043,47212,606,355,00011,624,029,000268,066,816