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 13:19matsuoka-601matsuoka-601Score: 5,247Success
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 13:195,202533,230,864218,451,00078,088,000268,005,376
2Jun 21, 2024 13:195,209539,665,999233,224,00063,700,000267,866,112
3Jun 21, 2024 13:195,212537,351,840228,206,00068,855,000267,939,840
4Jun 21, 2024 13:195,220548,662,250222,637,00074,878,000267,890,688
5Jun 21, 2024 13:195,233548,424,987229,231,00069,069,000267,964,416
6Jun 21, 2024 13:195,236551,638,989226,856,00071,585,000267,923,456
7Jun 21, 2024 13:195,247554,251,862218,995,00080,095,000267,878,400
8Jun 21, 2024 13:195,257558,385,892226,001,00073,652,000267,919,360
9Jun 21, 2024 13:195,264561,672,411227,323,00072,743,000267,517,952
10Jun 21, 2024 13:195,842630,162,855332,977,3090265,863,168
11Jun 21, 2024 13:195,859669,336,650333,965,6560265,691,136
12Jun 21, 2024 13:195,887645,982,673335,539,2820265,773,056