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 29, 2024 22:13E SequeiraE SequeiraScore: 6,915Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 22:136,897626,412,792301,168,00091,967,000266,698,752
2Nov 29, 2024 22:136,903619,670,891301,048,00092,400,000266,907,648
3Nov 29, 2024 22:136,913653,888,477303,021,00091,006,000266,047,488
4Nov 29, 2024 22:136,914622,163,998296,576,00097,532,000266,973,184
5Nov 29, 2024 22:136,915639,184,902293,897,000100,259,000266,911,744
6Nov 29, 2024 22:136,934640,657,390298,387,00096,827,000266,825,728
7Nov 29, 2024 22:136,943641,774,851306,919,00088,845,000266,993,664
8Nov 29, 2024 22:136,958624,986,703304,169,00092,443,000266,891,264
9Nov 29, 2024 22:136,980634,855,823299,902,00097,968,000266,899,456