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 31, 2023 12:47Alexander FrolovAlexander FrolovScore: 6,314Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2023 12:475,381610,195,332306,707,8510266,891,264
2Dec 31, 2023 12:475,398587,386,739307,685,7380265,342,976
3Dec 31, 2023 12:475,458600,645,535311,105,7980266,317,824
4Dec 31, 2023 12:475,580549,495,441243,177,00074,902,000267,902,976
5Dec 31, 2023 12:475,689567,791,594243,953,00080,313,000267,821,056
6Dec 31, 2023 12:476,040589,664,652243,907,000100,373,000267,771,904
7Dec 31, 2023 12:476,314595,792,869262,119,00097,790,000267,788,288
8Dec 31, 2023 12:476,342610,046,582258,196,000103,278,000267,702,272
9Dec 31, 2023 12:476,611618,756,721264,891,000111,954,000267,579,392
10Dec 31, 2023 12:477,149642,276,571275,689,000131,807,000267,366,400
11Dec 31, 2023 12:477,166650,782,334262,957,000145,529,000267,526,144
12Dec 31, 2023 12:477,224661,683,291279,547,000132,204,000267,448,320