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:40Yurkov AlekseyYurkov AlekseyScore: 5,959Success
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:405,652692,090,685322,148,5240266,227,712
2Dec 30, 2023 23:405,679698,253,996323,704,9740265,265,152
3Dec 30, 2023 23:405,884766,734,673335,404,9730266,383,360
4Dec 30, 2023 23:405,914585,821,165252,841,00084,280,000266,960,896
5Dec 30, 2023 23:405,922589,073,887258,292,00079,237,000266,940,416
6Dec 30, 2023 23:405,942579,792,926243,200,00095,508,000266,928,128
7Dec 30, 2023 23:405,959591,803,089247,850,00091,796,000266,792,960
8Dec 30, 2023 23:405,968591,441,341248,113,00092,042,000266,854,400
9Dec 30, 2023 23:406,000618,326,832260,377,00081,626,000265,539,584
10Dec 30, 2023 23:406,046579,589,966247,303,00097,299,000266,813,440
11Dec 30, 2023 23:406,065582,329,172248,529,00097,161,000266,866,688
12Dec 30, 2023 23:406,091602,240,470248,114,00099,045,000266,752,000