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 7, 2024 21:48Yuriy LyfenkoYuriy LyfenkoScore: 4,777Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 7, 2024 21:484,5311,150,064,814258,290,0940267,235,328
2Jan 7, 2024 21:484,6251,176,201,346263,598,5220266,350,592
3Jan 7, 2024 21:484,6481,166,808,118264,916,5060267,128,832
4Jan 7, 2024 21:484,7601,114,181,000198,884,00072,414,000267,816,960
5Jan 7, 2024 21:484,7661,114,062,367200,517,00071,119,000268,013,568
6Jan 7, 2024 21:484,7751,111,938,261199,149,00073,054,000267,976,704
7Jan 7, 2024 21:484,7771,120,734,651200,408,00071,863,000267,964,416
8Jan 7, 2024 21:484,8041,125,441,613197,439,00076,396,000267,870,208
9Jan 7, 2024 21:484,8191,132,421,940203,231,00071,433,000266,342,400
10Jan 7, 2024 21:484,8261,149,706,975206,333,00068,777,000268,001,280
11Jan 7, 2024 21:484,8281,129,779,080211,462,00063,742,000267,804,672
12Jan 7, 2024 21:484,8311,135,434,695195,835,00079,527,000267,894,784