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 12, 2024 18:50Yuriy LyfenkoYuriy LyfenkoScore: 3,660Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 12, 2024 18:503,654238,079,920187,338,00020,926,000250,204,160
2Dec 12, 2024 18:503,658231,889,332186,534,00021,945,000250,191,872
3Dec 12, 2024 18:503,659233,710,520186,617,00021,954,000250,302,464
4Dec 12, 2024 18:503,660235,093,787189,637,00018,963,000250,191,872
5Dec 12, 2024 18:503,660236,850,750187,665,00020,962,000250,204,160
6Dec 12, 2024 18:503,661240,768,092188,719,00019,970,000250,183,680
7Dec 12, 2024 18:503,663234,956,463190,797,00017,980,000250,040,320
8Dec 12, 2024 18:503,664229,317,901189,887,00018,988,000250,179,584
9Dec 12, 2024 18:503,666231,841,596183,953,00024,993,000250,216,448