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 08:53matsuoka-601matsuoka-601Score: 4,431Success
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 08:534,180556,887,868238,272,8510265,318,400
2Jun 23, 2024 08:534,198546,776,541239,259,6820265,875,456
3Jun 23, 2024 08:534,240554,397,184241,702,3860265,035,776
4Jun 23, 2024 08:534,367489,450,634189,791,00059,115,000265,596,928
5Jun 23, 2024 08:534,371499,163,849178,262,00070,899,000265,474,048
6Jun 23, 2024 08:534,381492,336,206173,589,00076,135,000265,564,160
7Jun 23, 2024 08:534,431503,231,107177,521,00075,066,000265,482,240
8Jun 23, 2024 08:534,434505,161,901180,819,00071,928,000265,674,752
9Jun 23, 2024 08:534,435495,901,616171,170,00081,650,000265,678,848
10Jun 23, 2024 08:534,442527,549,630169,127,00084,063,000265,551,872
11Jun 23, 2024 08:534,443522,180,293185,779,00067,461,000265,596,928
12Jun 23, 2024 08:534,450513,360,757172,144,00081,488,000265,564,160