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 6, 2024 20:01Alexander FrolovAlexander FrolovScore: 4,879Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 6, 2024 20:014,701543,206,682267,943,5390266,743,808
2Jan 6, 2024 20:014,718553,536,851268,932,6040266,547,200
3Jan 6, 2024 20:014,806588,753,393273,960,0660265,273,344
4Jan 6, 2024 20:014,851516,374,086203,186,00073,345,000267,878,400
5Jan 6, 2024 20:014,872517,099,533214,076,00063,617,000267,874,304
6Jan 6, 2024 20:014,875518,377,109200,850,00077,025,000267,874,304
7Jan 6, 2024 20:014,879503,847,981193,807,00084,306,000267,726,848
8Jan 6, 2024 20:014,900514,359,422201,227,00078,088,000267,644,928
9Jan 6, 2024 20:014,901518,867,432196,900,00082,446,000267,460,608
10Jan 6, 2024 20:014,909520,014,178212,674,00067,160,000267,796,480
11Jan 6, 2024 20:014,923522,261,803205,432,00075,158,000267,849,728
12Jan 6, 2024 20:014,933537,117,471203,781,00077,397,000267,927,552