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 13, 2024 15:04Dan StolyarovDan StolyarovScore: 422,962Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 13, 2024 15:04421,84824,336,105,30912,449,855,00011,595,482,000268,132,352
2Nov 13, 2024 15:04421,85624,340,868,11012,431,163,00011,614,612,000267,939,840
3Nov 13, 2024 15:04422,73224,378,589,97612,521,463,00011,574,260,000268,140,544
4Nov 13, 2024 15:04422,80724,401,297,14212,419,760,00011,680,251,000267,939,840
5Nov 13, 2024 15:04422,96224,379,810,55512,452,107,00011,656,739,000267,993,088
6Nov 13, 2024 15:04423,50724,439,817,14112,556,754,00011,583,160,000268,161,024
7Nov 13, 2024 15:04424,71524,503,152,43912,563,025,00011,645,753,000267,907,072
8Nov 13, 2024 15:04425,02924,504,296,86012,444,183,00011,782,492,000268,140,544
9Nov 13, 2024 15:04444,17125,609,786,98113,351,428,00011,966,317,000268,079,104