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:39Andrey LikhachevAndrey LikhachevScore: 19,302Success
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:3919,1901,611,271,5321,093,808,6220260,665,344
2Aug 21, 2024 12:3919,3021,568,446,9071,100,228,0160263,757,824
3Aug 21, 2024 12:3919,3811,659,804,1151,104,718,0100261,988,352