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 11:20Oleg KovalovOleg KovalovScore: 7,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 11:207,831937,830,537446,374,4180263,647,232
2Dec 25, 2023 08:577,874965,733,834448,820,8570265,850,880
3Dec 25, 2023 08:577,8831,008,193,533449,326,5320267,051,008
4Dec 25, 2023 08:577,886966,230,985449,518,5490265,179,136
5Dec 25, 2023 11:207,8911,011,437,335449,787,8700263,876,608
6Dec 25, 2023 11:207,893975,714,319449,887,7180265,494,528