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 listDec 30, 2023 23:03Alexander FrolovAlexander FrolovScore: 5,418Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2023 23:035,050574,332,545287,858,3760265,375,744
2Dec 30, 2023 23:035,063572,608,052288,587,0320265,359,360
3Dec 30, 2023 23:035,134634,781,663292,660,7280267,309,056
4Dec 30, 2023 23:035,255533,100,891218,101,00081,411,000267,935,744
5Dec 30, 2023 23:035,257546,529,188229,638,00070,024,000267,776,000
6Dec 30, 2023 23:035,270533,319,635229,412,00070,984,000267,538,432
7Dec 30, 2023 23:035,418570,162,828222,335,00086,519,000267,685,888
8Dec 30, 2023 23:035,789569,679,205241,354,00088,598,000267,694,080
9Dec 30, 2023 23:036,191599,779,935236,893,000115,968,000267,739,136
10Dec 30, 2023 23:036,197600,421,146239,503,000113,713,000267,751,424
11Dec 30, 2023 23:036,367595,555,206236,242,000126,666,000267,657,216
12Dec 30, 2023 23:036,413632,987,219232,087,000133,475,000267,436,032