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 25, 2023 02:38Yuriy LyfenkoYuriy LyfenkoScore: 20,886Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2023 02:3820,7491,928,539,2361,182,697,7900258,473,984
2Dec 25, 2023 02:3820,8861,889,110,5701,190,524,8040259,076,096
3Dec 25, 2023 02:3821,5652,454,157,1821,229,203,1520259,579,904