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 22, 2023 17:57Yuriy LyfenkoYuriy LyfenkoScore: 5,391Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 17:575,3101,470,947,607302,651,1530265,371,648
2Dec 22, 2023 17:575,3131,518,665,099302,856,9860264,380,416
3Dec 22, 2023 17:575,3421,483,910,558304,491,4460264,355,840
4Dec 22, 2023 17:575,3481,144,888,271213,205,00091,658,000266,846,208
5Dec 22, 2023 17:575,3531,160,284,764219,383,00085,712,000266,752,000
6Dec 22, 2023 17:575,3611,150,753,146214,307,00091,278,000266,973,184
7Dec 22, 2023 17:575,3911,146,752,001217,311,00089,956,000266,825,728
8Dec 22, 2023 17:575,3951,166,138,850211,598,00095,911,000266,915,840
9Dec 22, 2023 17:575,4191,161,336,685213,613,00095,273,000266,870,784
10Dec 22, 2023 17:575,5381,165,142,860209,812,000105,877,000266,760,192
11Dec 22, 2023 17:575,5771,177,624,235212,237,000105,625,000266,887,168
12Dec 22, 2023 17:575,6131,171,226,447221,421,00098,522,000266,760,192