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 listNov 25, 2024 00:14Joad NacerJoad NacerScore: 5,872Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 25, 2024 00:145,849652,499,184264,528,00068,864,000266,539,008
2Nov 25, 2024 00:145,872638,147,327259,021,00075,681,000266,563,584
3Nov 25, 2024 00:145,874643,080,635258,603,00076,241,000266,129,408