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 5, 2024 22:15Alexander FrolovAlexander FrolovScore: 5,069Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2024 22:154,875572,348,870277,885,7260266,924,032
2Jan 5, 2024 22:154,902578,726,428279,423,9120267,399,168
3Jan 5, 2024 22:154,935592,191,167281,285,4980266,452,992
4Jan 5, 2024 22:155,027519,579,144209,985,00076,536,000267,956,224
5Jan 5, 2024 22:155,052533,073,332213,714,00074,248,000267,747,328
6Jan 5, 2024 22:155,054537,286,850211,541,00076,557,000267,894,784
7Jan 5, 2024 22:155,069534,941,252215,678,00073,249,000267,907,072
8Jan 5, 2024 22:155,072542,750,588213,639,00075,459,000267,755,520
9Jan 5, 2024 22:155,074528,650,144221,680,00067,511,000267,898,880
10Jan 5, 2024 22:155,079551,270,190212,372,00077,135,000267,939,840
11Jan 5, 2024 22:155,087546,386,848215,969,00073,989,000267,816,960
12Jan 5, 2024 22:155,087531,243,964220,494,00069,470,000267,968,512