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 20:18Alexander FrolovAlexander FrolovScore: 6,146Success
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 20:185,152590,681,614293,654,1860267,583,488
2Dec 30, 2023 20:185,169585,004,515294,628,1900265,015,296
3Dec 30, 2023 20:185,183596,556,477295,427,2330267,587,584
4Dec 30, 2023 20:185,421551,394,957231,728,00077,242,000267,743,232
5Dec 30, 2023 20:185,795574,518,277240,497,00089,812,000267,808,768
6Dec 30, 2023 20:185,976577,289,290245,454,00095,176,000267,784,192
7Dec 30, 2023 20:186,146586,271,508240,158,000110,155,000267,612,160
8Dec 30, 2023 20:186,317589,224,282253,154,000106,909,000267,694,080
9Dec 30, 2023 20:186,585627,575,393257,748,000117,623,000267,497,472
10Dec 30, 2023 20:186,792625,069,601261,782,000125,374,000267,468,800
11Dec 30, 2023 20:186,907643,185,856272,257,000121,453,000267,436,032
12Dec 30, 2023 20:186,909639,456,658262,560,000131,280,000267,550,720