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 21, 2024 22:17Yuriy LyfenkoYuriy LyfenkoScore: 5,555Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 22:175,5021,224,920,333313,589,8990265,408,512
2Jan 21, 2024 22:175,5151,226,828,696314,361,8690265,699,328
3Jan 21, 2024 22:175,5281,166,032,470253,707,00061,413,000264,605,696
4Jan 21, 2024 22:175,5291,162,154,571258,040,00057,115,000264,708,096
5Jan 21, 2024 22:175,5341,179,355,675252,340,00063,085,000264,024,064
6Jan 21, 2024 22:175,5381,225,416,132315,659,6390267,124,736
7Jan 21, 2024 22:175,5551,169,392,853253,723,00062,931,000266,240,000
8Jan 21, 2024 22:175,5561,189,176,752253,560,00063,135,000266,092,544
9Jan 21, 2024 22:175,5871,180,636,016250,519,00067,954,000264,163,328
10Jan 21, 2024 22:175,6111,186,793,047253,449,00066,379,000262,733,824
11Jan 21, 2024 22:175,6171,184,205,337244,636,00075,505,000263,385,088
12Jan 21, 2024 22:175,6291,189,198,985257,295,00063,567,000264,273,920