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 listDec 31, 2023 13:04Alexander FrolovAlexander FrolovScore: 5,712Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2023 13:045,403597,186,473307,974,2270265,723,904
2Dec 31, 2023 13:045,454612,388,758310,852,1060265,633,792
3Dec 31, 2023 13:045,456625,706,625310,990,9270266,481,664
4Dec 31, 2023 13:045,528550,467,834239,550,00075,542,000267,980,800
5Dec 31, 2023 13:045,544561,403,052246,902,00069,092,000267,919,360
6Dec 31, 2023 13:045,584556,738,280242,990,00075,307,000267,874,304
7Dec 31, 2023 13:045,712570,992,242244,179,00081,393,000267,821,056
8Dec 31, 2023 13:045,939573,304,401246,562,00091,955,000267,714,560
9Dec 31, 2023 13:046,010597,376,505256,441,00086,156,000267,878,400
10Dec 31, 2023 13:046,249593,483,819257,493,00098,722,000267,804,672
11Dec 31, 2023 13:046,566606,678,216262,277,000111,983,000267,685,888
12Dec 31, 2023 13:047,164636,013,447262,086,000146,280,000267,587,584