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 07:20Evgeniy KhaluevEvgeniy KhaluevScore: 16,665Success
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 07:2016,6301,966,521,638947,887,9200211,697,664
2Dec 14, 2023 07:2016,6652,076,801,119949,884,3420207,298,560
3Dec 14, 2023 07:2016,9992,570,553,603968,958,6040212,455,424