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 22, 2023 22:00Alexander FrolovAlexander FrolovScore: 11,912Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 22:0011,8441,319,575,437675,128,7070266,424,320
2Dec 22, 2023 22:0011,9121,419,075,481678,957,5640263,397,376
3Dec 22, 2023 22:0012,4451,535,184,536709,355,4460263,245,824