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:21Yuriy LyfenkoYuriy LyfenkoScore: 5,173Success
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:215,0341,184,404,373286,940,5580265,744,384
2Jan 21, 2024 22:215,0501,184,843,037287,832,2950265,854,976
3Jan 21, 2024 22:215,0601,206,586,012288,408,1900267,370,496
4Jan 21, 2024 22:215,1051,138,358,751228,499,00062,504,000264,667,136
5Jan 21, 2024 22:215,1471,144,966,490229,645,00063,734,000265,797,632
6Jan 21, 2024 22:215,1561,154,164,452225,232,00068,680,000263,471,104
7Jan 21, 2024 22:215,1731,159,264,292223,639,00071,247,000262,713,344
8Jan 21, 2024 22:215,1791,175,868,033228,026,00067,186,000263,000,064
9Jan 21, 2024 22:215,1861,165,156,890224,964,00070,616,000262,488,064
10Jan 21, 2024 22:215,1861,163,046,472215,681,00079,917,000262,529,024
11Jan 21, 2024 22:215,2061,162,437,976229,211,00067,535,000262,492,160
12Jan 21, 2024 22:215,2171,170,209,968225,526,00071,849,000262,701,056