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:35E SequeiraE SequeiraScore: 401,664Success
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:35399,51423,031,592,21111,371,152,00011,401,144,000268,001,280
2Nov 24, 2024 18:35399,89823,042,837,20611,271,644,00011,522,547,000268,001,280
3Nov 24, 2024 18:35400,58323,092,461,09611,292,672,00011,540,577,000267,792,384
4Nov 24, 2024 18:35401,41623,140,718,97811,283,912,00011,596,798,000268,029,952
5Nov 24, 2024 18:35401,66423,150,588,60011,067,632,00011,827,195,000267,825,152
6Nov 24, 2024 18:35402,32923,179,644,44711,189,392,00011,743,361,000267,882,496
7Nov 24, 2024 18:35408,28623,516,193,02411,248,326,00012,024,003,000267,993,088
8Nov 24, 2024 18:35412,95823,793,481,05011,548,970,00011,989,626,000267,997,184
9Nov 24, 2024 18:35438,05725,230,438,94712,195,297,00012,773,932,000267,841,536