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 6, 2024 17:54Alexander FrolovAlexander FrolovScore: 4,904Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 6, 2024 17:544,698535,564,305267,769,3440266,481,664
2Jan 6, 2024 17:544,720574,237,192269,051,6260267,628,544
3Jan 6, 2024 17:544,812572,168,470274,284,2340265,089,024
4Jan 6, 2024 17:544,858509,039,873205,639,00071,261,000267,943,936
5Jan 6, 2024 17:544,862511,763,024209,365,00067,794,000267,788,288
6Jan 6, 2024 17:544,889519,638,441209,527,00069,164,000267,943,936
7Jan 6, 2024 17:544,904524,405,313212,988,00066,558,000267,816,960
8Jan 6, 2024 17:544,909523,275,909187,850,00091,968,000267,759,616
9Jan 6, 2024 17:544,911532,937,890205,798,00074,126,000267,685,888
10Jan 6, 2024 17:544,915545,164,620206,333,00073,834,000267,735,040
11Jan 6, 2024 17:544,918528,531,523210,506,00069,816,000267,735,040
12Jan 6, 2024 17:544,920535,045,837205,600,00074,854,000267,907,072