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 listJun 21, 2024 15:06Yuriy LyfenkoYuriy LyfenkoScore: 4,816Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2024 15:064,7241,184,744,401269,254,1860267,472,896
2Jun 21, 2024 15:064,7601,191,685,796271,322,1540268,066,816
3Jun 21, 2024 15:064,7881,201,635,295272,916,3880265,420,800
4Jun 21, 2024 15:064,8031,131,874,461213,137,00060,617,000265,793,536
5Jun 21, 2024 15:064,8031,134,559,388210,344,00063,420,000265,084,928
6Jun 21, 2024 15:064,8121,146,179,529199,922,00074,367,000265,355,264
7Jun 21, 2024 15:064,8161,147,474,977193,530,00080,966,000266,027,008
8Jun 21, 2024 15:064,8531,166,415,449205,746,00070,879,000265,711,616
9Jun 21, 2024 15:064,8661,153,536,293194,543,00082,843,000265,474,048
10Jun 21, 2024 15:064,8691,154,892,644197,960,00079,592,000265,519,104
11Jun 21, 2024 15:064,8751,177,139,869206,122,00071,738,000264,945,664
12Jun 21, 2024 15:064,8781,152,482,829204,158,00073,885,000264,245,248