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 22, 2024 15:50matsuoka-601matsuoka-601Score: 4,375Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 22, 2024 15:504,160542,678,946237,133,0360267,345,920
2Jun 22, 2024 15:504,168561,415,304237,562,7980266,268,672
3Jun 22, 2024 15:504,201557,573,176239,435,1710267,767,808
4Jun 22, 2024 15:504,367490,755,641170,486,00078,444,000265,809,920
5Jun 22, 2024 15:504,369491,777,756167,994,00081,032,000265,826,304
6Jun 22, 2024 15:504,374486,361,571175,641,00073,688,000265,908,224
7Jun 22, 2024 15:504,375491,374,723174,058,00075,323,000265,678,848
8Jun 22, 2024 15:504,387489,574,044177,297,00072,763,000265,883,648
9Jun 22, 2024 15:504,399504,680,073165,155,00085,599,000265,773,056
10Jun 22, 2024 15:504,405500,563,499170,746,00080,351,000265,793,536
11Jun 22, 2024 15:504,405502,890,870170,042,00081,066,000265,814,016
12Jun 22, 2024 15:504,416504,313,888180,858,00070,862,000265,703,424