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 27, 2023 13:16Alexander FrolovAlexander FrolovScore: 6,797Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 27, 2023 13:166,649619,184,018292,056,00086,909,000265,322,496
2Dec 27, 2023 13:166,674632,480,807291,619,00088,797,000265,326,592
3Dec 27, 2023 13:166,740905,286,590384,153,8240263,872,512
4Dec 27, 2023 13:166,751928,780,036384,817,9660264,069,120
5Dec 27, 2023 13:166,755647,875,257288,546,00096,510,000264,908,800
6Dec 27, 2023 13:166,773620,204,696291,302,00094,772,000265,433,088
7Dec 27, 2023 13:166,797632,311,366290,842,00096,608,000265,306,112
8Dec 27, 2023 13:166,802946,072,971387,724,4030262,914,048
9Dec 27, 2023 13:166,851649,816,571295,624,00094,879,000265,498,624
10Dec 27, 2023 13:166,923647,168,829295,958,00098,652,000265,498,624
11Dec 27, 2023 13:167,078668,327,123291,580,000111,839,000265,396,224
12Dec 27, 2023 13:167,100648,257,805300,190,000104,503,000265,486,336