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 listDec 26, 2024 17:16Joad NacerJoad NacerScore: 4,151Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 26, 2024 17:164,136258,318,960212,757,00022,973,000250,191,872
2Dec 26, 2024 17:164,151261,701,607209,634,00026,953,000250,040,320
3Dec 26, 2024 17:164,155258,403,539213,834,00022,982,000250,220,544