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 19:48Alexander FrolovAlexander FrolovScore: 7,529Success
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 19:486,079650,231,047346,480,1570265,420,800
2Dec 30, 2023 19:486,097639,609,175347,553,8940266,883,072
3Dec 30, 2023 19:486,138632,929,054349,874,8350265,383,936
4Dec 30, 2023 19:486,334597,684,363286,224,00074,797,000267,980,800
5Dec 30, 2023 19:486,611609,343,783290,791,00086,050,000267,571,200
6Dec 30, 2023 19:487,423654,341,046294,635,000128,456,000267,501,568
7Dec 30, 2023 19:487,529678,685,935306,093,000123,037,000267,362,304
8Dec 30, 2023 19:487,603669,596,696298,627,000134,734,000267,427,840
9Dec 30, 2023 19:487,796680,797,367302,971,000141,386,000267,550,720
10Dec 30, 2023 19:487,828686,682,122323,759,000122,421,000267,476,992
11Dec 30, 2023 19:487,838700,463,811295,147,000151,616,000267,329,536
12Dec 30, 2023 19:487,877703,931,099309,455,000139,558,000267,452,416