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 listJan 12, 2025 22:11Mikhail ShirokovMikhail ShirokovScore: 7,341Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 12, 2025 22:117,337443,152,600394,253,00023,954,000250,191,872
2Jan 12, 2025 22:117,339442,148,526388,369,00029,951,000250,073,088
3Jan 12, 2025 22:117,339444,473,820392,376,00025,958,000250,302,464
4Jan 12, 2025 22:117,340444,606,052402,377,00015,975,000250,171,392
5Jan 12, 2025 22:117,341446,533,232398,444,00019,972,000250,212,352
6Jan 12, 2025 22:117,342444,655,629399,518,00018,977,000250,200,064
7Jan 12, 2025 22:117,342449,283,562408,519,0009,988,000250,028,032
8Jan 12, 2025 22:117,344441,951,001401,627,00016,984,000250,306,560
9Jan 12, 2025 22:117,347440,738,327393,783,00024,986,000250,216,448