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 listJun 23, 2024 09:07matsuoka-601matsuoka-601Score: 4,353Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 23, 2024 09:074,140561,210,274235,965,1690266,424,320
2Jun 23, 2024 09:074,156577,176,663236,868,8970267,268,096
3Jun 23, 2024 09:074,174548,207,591237,939,2070266,067,968
4Jun 23, 2024 09:074,306487,931,171165,304,00080,147,000265,826,304
5Jun 23, 2024 09:074,346491,265,079184,998,00062,711,000265,789,440
6Jun 23, 2024 09:074,351486,335,254172,575,00075,437,000265,973,760
7Jun 23, 2024 09:074,353484,563,840167,078,00081,038,000265,834,496
8Jun 23, 2024 09:074,356493,066,505170,247,00078,030,000265,887,744
9Jun 23, 2024 09:074,379487,747,990166,733,00082,873,000265,887,744
10Jun 23, 2024 09:074,384494,958,728174,715,00075,168,000265,752,576
11Jun 23, 2024 09:074,411499,251,044177,051,00074,382,000265,838,592
12Jun 23, 2024 09:074,423501,976,603184,180,00067,910,000265,932,800