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:37Alexander FrolovAlexander FrolovScore: 5,459Success
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:374,985566,744,720284,157,7490265,535,488
2Dec 31, 2023 13:375,048591,929,259287,710,1720265,076,736
3Dec 31, 2023 13:375,078589,664,595289,472,1450265,146,368
4Dec 31, 2023 13:375,138532,075,496218,157,00074,684,000267,964,416
5Dec 31, 2023 13:375,147525,752,937224,966,00068,423,000267,874,304
6Dec 31, 2023 13:375,212540,536,020216,931,00080,127,000267,845,632
7Dec 31, 2023 13:375,459561,297,898222,854,00088,320,000267,882,496
8Dec 31, 2023 13:375,737560,763,326243,239,00083,771,000267,853,824
9Dec 31, 2023 13:375,985588,180,604221,762,000119,410,000267,743,232
10Dec 31, 2023 13:376,220607,052,471230,597,000123,933,000267,702,272
11Dec 31, 2023 13:376,230601,051,105247,183,000107,953,000265,793,536
12Dec 31, 2023 13:376,308592,175,713252,592,000106,944,000267,657,216