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 15:11Huy Duc LeHuy Duc LeScore: 25,201Success
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 15:1125,1571,722,894,8531,433,974,6250267,874,304
2Feb 18, 2024 15:1125,2011,771,267,4641,436,469,3140267,862,016
3Feb 18, 2024 15:1125,5212,006,070,6731,454,692,8780268,099,584