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 29, 2023 16:05Yuriy LyfenkoYuriy LyfenkoScore: 5,085Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2023 16:054,9881,131,678,984186,548,00097,763,000266,981,376
2Dec 29, 2023 16:055,0271,378,398,889286,511,7160266,960,896
3Dec 29, 2023 16:055,0441,234,127,505287,517,5110264,994,816
4Dec 29, 2023 16:055,0621,134,067,053183,610,000104,920,000266,813,440
5Dec 29, 2023 16:055,0661,148,446,315201,094,00087,656,000266,973,184
6Dec 29, 2023 16:055,0661,133,024,037227,716,00061,069,000266,932,224
7Dec 29, 2023 16:055,0851,149,715,808208,929,00080,909,000266,899,456
8Dec 29, 2023 16:055,1001,150,073,246207,357,00083,349,000266,788,864
9Dec 29, 2023 16:055,1681,142,748,662195,394,00099,184,000266,874,880
10Dec 29, 2023 16:055,2471,139,329,779195,362,000103,723,000266,801,152
11Dec 29, 2023 16:055,2521,157,219,163201,269,00098,080,000266,768,384
12Dec 29, 2023 16:055,4251,595,118,527309,224,4290266,539,008