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 listJun 21, 2024 14:48Yuriy LyfenkoYuriy LyfenkoScore: 4,534Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2024 14:484,4381,135,215,778252,955,3260266,219,520
2Jun 21, 2024 14:484,4541,135,347,479253,893,0590267,079,680
3Jun 21, 2024 14:484,5011,155,774,626256,558,9120267,304,960
4Jun 21, 2024 14:484,5211,103,704,859189,305,00068,388,000266,194,944
5Jun 21, 2024 14:484,5221,104,613,015201,384,00056,345,000264,118,272
6Jun 21, 2024 14:484,5321,122,901,995192,727,00065,609,000264,933,376
7Jun 21, 2024 14:484,5341,124,120,705194,824,00063,595,000266,092,544
8Jun 21, 2024 14:484,5441,123,273,777201,933,00057,091,000264,839,168
9Jun 21, 2024 14:484,5451,101,945,067188,304,00070,738,000264,708,096
10Jun 21, 2024 14:484,5471,105,851,394193,860,00065,300,000262,283,264
11Jun 21, 2024 14:484,5631,116,839,457187,189,00072,905,000265,342,976
12Jun 21, 2024 14:484,5761,121,193,591194,628,00066,213,000263,077,888