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 30, 2023 11:29Vadim AlekseevVadim AlekseevScore: 6,927Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2023 11:296,768699,593,292385,800,5340264,011,776
2Dec 30, 2023 11:296,784701,933,280386,683,3950264,044,544
3Dec 30, 2023 11:296,844707,544,188390,110,6660263,819,264
4Dec 30, 2023 11:296,870644,492,269303,314,00088,293,000264,486,912
5Dec 30, 2023 11:296,879648,108,254297,161,00094,926,000264,601,600
6Dec 30, 2023 11:296,916661,620,356290,160,000104,057,000264,605,696
7Dec 30, 2023 11:296,927664,558,698314,372,00080,445,000264,536,064
8Dec 30, 2023 11:296,934676,606,273293,145,000102,095,000264,548,352
9Dec 30, 2023 11:296,942658,086,018288,166,000107,554,000263,823,360
10Dec 30, 2023 11:297,064675,439,624294,227,000108,399,000264,458,240
11Dec 30, 2023 11:297,083659,135,994288,668,000115,056,000264,409,088
12Dec 30, 2023 11:297,098664,688,031289,453,000115,158,000264,577,024