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:57Alexander FrolovAlexander FrolovScore: 6,115Success
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:575,585611,338,653318,336,5920265,420,800
2Dec 31, 2023 13:575,612613,996,323319,912,2590267,403,264
3Dec 31, 2023 13:575,701636,454,392324,949,3970265,404,416
4Dec 31, 2023 13:575,776589,603,869261,119,00068,118,000267,915,264
5Dec 31, 2023 13:575,778568,198,614256,030,00073,294,000267,825,152
6Dec 31, 2023 13:575,781572,354,178252,719,00076,826,000267,931,648
7Dec 31, 2023 13:576,115587,310,531254,473,00094,066,000267,878,400
8Dec 31, 2023 13:576,503635,975,980266,819,000103,876,000267,603,968
9Dec 31, 2023 13:576,550627,710,431273,589,00099,767,000267,546,624
10Dec 31, 2023 13:577,011655,419,241276,140,000123,509,000267,669,504
11Dec 31, 2023 13:577,270666,637,188290,077,000124,319,000267,538,432
12Dec 31, 2023 13:577,302654,073,980286,893,000129,304,000267,407,360