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 31, 2023 12:20Alexander FrolovAlexander FrolovScore: 6,121Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2023 12:205,407598,716,737308,178,8830265,183,232
2Dec 31, 2023 12:205,407608,484,107308,210,0570265,076,736
3Dec 31, 2023 12:205,468625,528,426311,682,9310265,703,424
4Dec 31, 2023 12:205,600559,391,856242,826,00076,372,000267,829,248
5Dec 31, 2023 12:205,603565,000,641244,286,00075,088,000267,911,168
6Dec 31, 2023 12:205,833574,635,889251,114,00081,361,000267,763,712
7Dec 31, 2023 12:206,121601,217,700261,175,00087,723,000267,796,480
8Dec 31, 2023 12:206,336607,277,362252,909,000108,245,000267,689,984
9Dec 31, 2023 12:206,349606,238,267243,226,000118,647,000267,608,064
10Dec 31, 2023 12:206,930649,752,303265,675,000129,329,000267,624,448
11Dec 31, 2023 12:206,945650,248,170243,670,000152,173,000267,522,048
12Dec 31, 2023 12:207,041642,866,125276,914,000124,411,000267,534,336