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 31, 2024 01:25Joad NacerJoad NacerScore: 3,488Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2024 01:253,477221,415,116174,168,00024,023,000250,163,200
2Dec 31, 2024 01:253,480223,273,150175,444,00022,927,000250,298,368
3Dec 31, 2024 01:253,484232,277,662173,656,00024,950,000250,040,320
4Dec 31, 2024 01:253,487230,288,616174,800,00023,972,000250,298,368
5Dec 31, 2024 01:253,488223,464,354175,814,00022,975,000250,044,416
6Dec 31, 2024 01:253,492221,134,475174,039,00025,005,000250,220,544
7Dec 31, 2024 01:253,492220,138,898176,055,00023,007,000250,290,176
8Dec 31, 2024 01:253,493220,023,495175,077,00024,010,000250,044,416
9Dec 31, 2024 01:253,500225,194,760174,580,00024,940,000250,200,064