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 listJan 12, 2025 22:07Mikhail ShirokovMikhail ShirokovScore: 7,438Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 12, 2025 22:077,434446,786,497402,744,00020,986,000250,200,064
2Jan 12, 2025 22:077,434445,744,490402,774,00020,988,000250,036,224
3Jan 12, 2025 22:077,435447,471,205403,791,00019,989,000250,224,640
4Jan 12, 2025 22:077,436446,953,295401,848,00021,991,000250,302,464
5Jan 12, 2025 22:077,438455,260,853403,979,00019,998,000250,195,968
6Jan 12, 2025 22:077,441449,642,038404,107,00020,005,000250,277,888
7Jan 12, 2025 22:077,442454,631,778402,218,00021,957,000250,064,896
8Jan 12, 2025 22:077,443454,586,585403,280,00020,962,000250,318,848
9Jan 12, 2025 22:077,444449,974,464401,366,00022,963,000250,310,656