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 14, 2023 13:50Vadim AlekseevVadim AlekseevScore: 12,494Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 14, 2023 13:5112,0861,731,588,452688,884,9750215,691,264
2Dec 14, 2023 13:5112,1491,778,163,333692,520,7030215,252,992
3Dec 14, 2023 13:5012,4122,164,037,546707,481,1610214,118,400
4Dec 14, 2023 13:5012,4942,102,128,400712,148,1580209,022,976
5Dec 14, 2023 13:5112,6912,349,203,968723,385,3900214,773,760
6Dec 14, 2023 13:5012,7892,650,456,624728,989,2060213,299,200