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 listJan 22, 2024 18:58Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 18:5800000Error: No answer to stdout. Died or killed?stderr
2Jan 22, 2024 18:584,85925,182,601,668276,962,7430267,882,496
3Jan 22, 2024 18:584,93425,192,117,947281,212,3300265,232,384
4Jan 22, 2024 18:584,97025,164,297,109198,093,00085,170,000265,297,920
5Jan 22, 2024 18:584,97025,172,315,793199,210,00084,059,000265,793,536
6Jan 22, 2024 18:584,98625,238,239,492284,219,4290266,973,184
7Jan 22, 2024 18:584,98825,179,165,329196,465,00087,866,000265,396,224
8Jan 22, 2024 18:584,99025,172,333,507196,899,00087,511,000264,359,936
9Jan 22, 2024 18:584,99925,182,091,651200,261,00084,682,000263,102,464
10Jan 22, 2024 18:585,04125,177,848,808195,826,00091,517,000265,904,128
11Jan 22, 2024 18:585,04525,185,458,924206,059,00081,507,000264,986,624
12Jan 22, 2024 18:585,06925,184,989,007202,461,00086,468,000263,917,568
13Jan 22, 2024 18:585,08225,193,388,952195,402,00094,264,000263,983,104