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 22:44Alexander FrolovAlexander FrolovScore: 6,202Success
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 22:445,265582,585,205300,107,2480265,555,968
2Dec 30, 2023 22:445,273587,050,320300,584,2870265,400,320
3Dec 30, 2023 22:445,293589,161,609301,724,5610263,712,768
4Dec 30, 2023 22:445,545552,631,671250,193,00065,894,000267,882,496
5Dec 30, 2023 22:445,937580,067,576252,217,00086,174,000267,550,720
6Dec 30, 2023 22:446,042587,673,114249,168,00095,210,000267,636,736
7Dec 30, 2023 22:446,202591,913,881256,926,00096,604,000267,673,600
8Dec 30, 2023 22:446,336603,014,398252,618,000108,554,000267,739,136
9Dec 30, 2023 22:446,705631,023,621245,544,000136,633,000267,542,528
10Dec 30, 2023 22:446,932635,446,640246,950,000148,170,000267,513,856
11Dec 30, 2023 22:446,971634,518,796257,809,000139,520,000267,288,576
12Dec 30, 2023 22:447,010641,813,576243,687,000155,881,000267,382,784