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 5, 2024 21:20Alexander FrolovAlexander FrolovScore: 5,493Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2024 21:205,306587,429,883302,422,4800266,543,104
2Jan 5, 2024 21:205,325585,164,291303,514,9570265,453,568
3Jan 5, 2024 21:205,413631,288,846308,556,6660265,547,776
4Jan 5, 2024 21:205,444554,994,600239,484,00070,847,000267,980,800
5Jan 5, 2024 21:205,467554,896,230240,787,00070,819,000267,874,304
6Jan 5, 2024 21:205,488556,279,133239,372,00073,421,000267,792,384
7Jan 5, 2024 21:205,493563,780,995243,973,00069,125,000267,448,320
8Jan 5, 2024 21:205,496558,173,930232,732,00080,523,000267,837,440
9Jan 5, 2024 21:205,507556,397,888242,912,00070,974,000267,894,784
10Jan 5, 2024 21:205,515551,063,908238,783,00075,564,000267,890,688
11Jan 5, 2024 21:205,521558,708,574239,374,00075,320,000267,911,168
12Jan 5, 2024 21:205,524563,700,183242,114,00072,738,000267,968,512