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 16:35Yuriy LyfenkoYuriy LyfenkoScore: 5,646Success
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 16:355,4501,048,090,869227,387,00083,240,000266,928,128
2Dec 22, 2023 16:355,4851,063,885,798220,529,00092,132,000266,973,184
3Dec 22, 2023 16:355,4901,060,458,385213,004,00099,940,000266,780,672
4Dec 22, 2023 16:355,5031,061,777,876237,819,00075,856,000266,784,768
5Dec 22, 2023 16:355,5231,062,622,744217,639,00097,160,000266,792,960
6Dec 22, 2023 16:355,5281,075,239,014233,047,00082,073,000266,878,976
7Dec 22, 2023 16:355,6461,075,671,528227,455,00094,359,000266,878,976
8Dec 22, 2023 16:355,6851,082,465,766227,907,00096,117,000266,940,416
9Dec 22, 2023 16:355,7271,081,298,844224,980,000101,441,000266,952,704
10Dec 22, 2023 16:355,9691,458,727,271340,207,1800265,420,800
11Dec 22, 2023 16:356,1561,417,913,736350,864,4120264,437,760
12Dec 22, 2023 16:356,1781,506,522,503352,134,9600266,072,064