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 22, 2024 01:52Yuriy LyfenkoYuriy LyfenkoScore: 5,928Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 01:525,8821,190,054,745263,855,00071,419,000264,597,504
2Jan 22, 2024 01:525,8831,191,962,966267,873,00067,464,000264,818,688
3Jan 22, 2024 01:525,8831,196,345,116260,192,00075,166,000264,683,520
4Jan 22, 2024 01:525,8901,185,969,891268,964,00066,742,000264,531,968
5Jan 22, 2024 01:525,8901,189,682,981274,336,00061,418,000265,736,192
6Jan 22, 2024 01:525,9211,185,081,410270,606,00066,891,000264,298,496
7Jan 22, 2024 01:525,9281,187,419,681266,361,00071,559,000264,843,264
8Jan 22, 2024 01:525,9391,238,738,822338,519,9800266,964,992
9Jan 22, 2024 01:525,9431,205,503,574270,181,00068,553,000265,936,896
10Jan 22, 2024 01:525,9461,243,493,960338,912,4760266,596,352
11Jan 22, 2024 01:525,9661,213,898,805277,219,00062,863,000264,048,640
12Jan 22, 2024 01:525,9961,230,549,363341,776,3800266,567,680