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 22:38Yuriy LyfenkoYuriy LyfenkoScore: 4,475Success
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 22:384,4271,113,442,570187,972,00064,360,000265,412,608
2Jan 22, 2024 22:384,4301,100,345,405187,109,00065,387,000264,237,056
3Jan 22, 2024 22:384,4511,099,489,533190,785,00062,918,000264,118,272
4Jan 22, 2024 22:384,4581,111,463,425188,805,00065,278,000265,936,896
5Jan 22, 2024 22:384,4621,103,983,504193,297,00061,041,000265,105,408
6Jan 22, 2024 22:384,4641,107,189,632195,557,00058,877,000264,568,832
7Jan 22, 2024 22:384,4751,124,521,664183,447,00071,613,000265,596,928
8Jan 22, 2024 22:384,4841,113,518,522192,187,00063,381,000264,736,768
9Jan 22, 2024 22:384,5211,142,556,255257,706,5020267,374,592
10Jan 22, 2024 22:384,5341,129,886,822193,556,00064,856,000264,552,448
11Jan 22, 2024 22:384,5721,155,944,886260,617,2880265,195,520
12Jan 22, 2024 22:384,5991,172,832,288262,139,6060266,514,432