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, 2024 23:34Joad NacerJoad NacerScore: 4,082Success
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, 2024 23:344,070262,287,627204,111,00027,878,000250,286,080
2Dec 30, 2024 23:344,073258,956,465209,238,00022,916,000250,306,560
3Dec 30, 2024 23:344,076266,454,478207,379,00024,925,000250,175,488
4Dec 30, 2024 23:344,078258,979,727207,526,00024,943,000250,200,064
5Dec 30, 2024 23:344,082261,589,370197,713,00034,949,000250,183,680
6Dec 30, 2024 23:344,087258,853,540209,970,00022,996,000250,306,560
7Dec 30, 2024 23:344,089254,807,103216,046,00017,003,000250,052,608
8Dec 30, 2024 23:344,089258,947,017211,054,00022,005,000250,195,968
9Dec 30, 2024 23:344,093264,188,189208,379,00024,925,000250,028,032