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 listAug 21, 2024 12:42Andrey LikhachevAndrey LikhachevScore: 19,227Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2024 12:4219,2021,594,370,7721,094,497,8710260,665,344
2Aug 21, 2024 12:4219,2271,616,402,0811,095,938,1180260,657,152
3Aug 21, 2024 12:4219,2571,643,385,4991,097,669,3980263,217,152