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 21:35E SequeiraE SequeiraScore: 9,317Success
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 21:359,255763,041,042418,365,000109,183,000265,273,344
2Nov 29, 2024 21:359,305784,631,262414,160,000116,203,000265,433,088
3Nov 29, 2024 21:359,307763,817,378438,149,00092,349,000265,228,288
4Nov 29, 2024 21:359,311764,268,701450,720,00080,015,000265,449,472
5Nov 29, 2024 21:359,317771,651,288420,101,000110,970,000265,400,320
6Nov 29, 2024 21:359,353780,642,972453,632,00079,461,000265,318,400
7Nov 29, 2024 21:359,406771,967,402449,620,00086,504,000265,404,416
8Nov 29, 2024 21:359,410776,996,354434,166,000102,216,000265,424,896
9Nov 29, 2024 21:359,506806,856,287428,912,000112,923,000265,224,192