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 30, 2023 03:55Simon ThorningtonSimon ThorningtonScore: 7,316Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2023 03:557,225706,837,155411,824,9250267,472,896
2Dec 30, 2023 23:237,248699,720,391413,141,1040266,297,344
3Dec 30, 2023 23:237,255710,571,956413,551,5160267,948,032
4Dec 30, 2023 03:557,316724,027,491417,033,8290266,891,264
5Dec 30, 2023 03:557,321704,933,676417,283,3710264,658,944
6Dec 30, 2023 23:237,354726,689,196419,172,8810266,792,960