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 13, 2023 23:13Artemiy DudkoArtemiy DudkoScore: 16,901Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 13, 2023 23:1316,8561,331,381,217960,808,3290265,433,088
2Dec 13, 2023 23:1316,9011,382,905,426963,379,8620266,903,552
3Dec 13, 2023 23:1316,9311,365,167,449965,057,2710266,272,768