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 23, 2024 08:52matsuoka-601matsuoka-601Score: 4,401Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 23, 2024 08:524,137547,590,382235,785,2390267,784,192
2Jun 23, 2024 08:524,150572,474,427236,575,1920266,895,360
3Jun 23, 2024 08:524,207561,993,687239,812,1710265,842,688
4Jun 23, 2024 08:524,321482,924,415168,168,00078,149,000265,732,096
5Jun 23, 2024 08:524,371482,422,856170,451,00078,670,000265,674,752
6Jun 23, 2024 08:524,376499,144,205170,942,00078,514,000265,654,272
7Jun 23, 2024 08:524,401496,794,070171,641,00079,219,000265,867,264
8Jun 23, 2024 08:524,404505,695,981170,008,00081,004,000265,068,544
9Jun 23, 2024 08:524,415503,263,315175,662,00076,017,000265,621,504
10Jun 23, 2024 08:524,422520,397,998159,681,00092,346,000265,760,768
11Jun 23, 2024 08:524,442508,818,625176,003,00077,194,000265,609,216
12Jun 23, 2024 08:524,444510,375,769168,879,00084,439,000265,543,680