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 listFeb 18, 2024 14:50Huy Duc LeHuy Duc LeScore: 51,543Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 18, 2024 14:5051,2353,418,602,4942,920,403,3310266,829,824
2Feb 18, 2024 14:5051,5433,287,986,9812,937,936,5300267,599,872
3Feb 18, 2024 14:5052,1013,536,090,1972,969,770,9520267,894,784