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 23:44Vadim AlekseevVadim AlekseevScore: 9,589Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 15, 2023 11:419,534967,103,887543,443,8460261,976,064
2Dec 14, 2023 23:449,537978,618,526543,595,2090262,340,608
3Dec 15, 2023 11:419,577984,756,877545,910,6930260,734,976
4Dec 14, 2023 23:449,5891,005,635,403546,552,4510262,234,112
5Dec 15, 2023 11:419,5961,032,084,582546,957,9840263,176,192
6Dec 14, 2023 23:449,605997,635,410547,462,3270263,327,744