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 5, 2024 18:42Alexander FrolovAlexander FrolovScore: 6,771Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2024 18:426,609675,036,457376,725,7360266,448,896
2Jan 5, 2024 18:426,624675,485,326377,564,6420267,509,760
3Jan 5, 2024 18:426,648701,250,729378,952,4110265,490,432
4Jan 5, 2024 18:426,724620,956,009308,796,00074,468,000267,710,464
5Jan 5, 2024 18:426,730610,529,303311,577,00072,058,000267,902,976
6Jan 5, 2024 18:426,768628,936,099323,864,00061,930,000267,980,800
7Jan 5, 2024 18:426,771624,258,186314,391,00071,544,000267,853,824
8Jan 5, 2024 18:426,773621,544,756307,658,00078,422,000267,780,096
9Jan 5, 2024 18:426,779630,351,139308,539,00077,874,000267,948,032
10Jan 5, 2024 18:426,781644,853,896310,630,00075,909,000267,808,768
11Jan 5, 2024 18:426,790633,049,989329,371,00057,640,000267,943,936
12Jan 5, 2024 18:426,792644,231,142315,817,00071,313,000267,816,960