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 listJan 11, 2023 00:22Benjamin YoungBenjamin YoungScore: 35,020Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 11, 2023 00:1534,7063,051,160,5841,978,246,8900266,522,624
2Jan 11, 2023 00:2234,8673,289,415,6911,987,413,7000267,730,944
3Jan 11, 2023 00:1534,8963,238,084,5391,989,060,3720267,632,640
4Jan 11, 2023 00:2235,0203,186,933,2181,996,150,6620267,603,968
5Jan 11, 2023 00:1535,2003,714,345,1052,006,372,9410266,620,928
6Jan 11, 2023 00:2236,6063,505,882,0622,086,551,5360266,772,480