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 11:31Vadim AlekseevVadim AlekseevScore: 6,899Success
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 11:316,789696,320,140386,953,2510262,713,344
2Dec 30, 2023 11:316,789695,468,886386,977,5420264,069,120
3Dec 30, 2023 11:316,818706,441,138388,623,0050261,169,152
4Dec 30, 2023 11:316,867641,699,876297,942,00093,492,000264,458,240
5Dec 30, 2023 11:316,881653,658,608298,553,00093,683,000264,527,872
6Dec 30, 2023 11:316,895650,478,160290,504,000102,531,000264,024,064
7Dec 30, 2023 11:316,899650,457,965307,564,00085,663,000264,572,928
8Dec 30, 2023 11:316,916680,287,374296,181,00098,046,000264,486,912
9Dec 30, 2023 11:316,944668,604,759305,098,00090,704,000264,560,640
10Dec 30, 2023 11:317,061676,491,814290,002,000112,492,000264,536,064
11Dec 30, 2023 11:317,107683,560,155290,220,000114,879,000264,597,504
12Dec 30, 2023 11:317,112679,074,459287,362,000118,023,000264,560,640