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 27, 2023 06:34Simon ThorningtonSimon ThorningtonScore: 8,791Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 27, 2023 06:188,7361,017,540,271497,940,2730268,115,968
2Dec 27, 2023 06:348,7471,065,608,810498,583,5090267,075,584
3Dec 27, 2023 06:188,7761,035,997,458500,215,7450266,432,512
4Dec 27, 2023 06:348,7911,022,438,160501,094,7330267,882,496
5Dec 27, 2023 06:188,8211,011,391,591502,804,0760266,190,848
6Dec 27, 2023 06:348,8461,075,347,065504,247,1600265,109,504