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 29, 2023 15:50Alexander FrolovAlexander FrolovScore: 6,393Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2023 15:506,2551,294,265,918356,562,8480265,490,432
2Dec 29, 2023 15:506,279702,446,349357,879,9770267,087,872
3Dec 29, 2023 15:506,3121,306,456,859359,797,7300267,694,080
4Dec 29, 2023 15:506,327588,821,910291,136,00069,510,000267,784,192
5Dec 29, 2023 15:506,329650,027,166296,635,00064,137,000267,763,712
6Dec 29, 2023 15:506,339597,161,524294,432,00066,871,000267,960,320
7Dec 29, 2023 15:506,393615,215,323288,511,00075,871,000267,792,384
8Dec 29, 2023 15:506,397597,672,628286,561,00078,063,000267,956,224
9Dec 29, 2023 15:506,401609,901,180293,506,00071,366,000267,902,976
10Dec 29, 2023 15:507,011652,011,644289,842,000109,803,000267,603,968
11Dec 29, 2023 15:507,340677,315,880311,006,000107,383,000267,620,352
12Dec 29, 2023 15:507,695678,552,181317,725,000120,895,000267,358,208