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 listJul 8, 2023 21:20gchebanovgchebanovScore: 5,363Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 21:205,294537,851,793211,528,00090,225,000267,718,656
2Jul 8, 2023 21:205,330548,305,902222,730,00081,086,000267,853,824
3Jul 8, 2023 21:205,336536,289,745225,355,00078,823,000267,784,192
4Jul 8, 2023 21:205,338543,762,964212,177,00092,076,000267,833,344
5Jul 8, 2023 21:205,358558,733,387214,800,00090,603,000267,735,040
6Jul 8, 2023 21:205,358548,134,727219,901,00085,517,000267,845,632
7Jul 8, 2023 21:205,363548,850,509223,549,00082,141,000267,821,056
8Jul 8, 2023 21:205,370564,091,373215,647,00090,432,000267,120,640
9Jul 8, 2023 21:205,380545,129,010211,473,00095,213,000267,649,024
10Jul 8, 2023 21:205,929928,695,853337,952,4520268,132,352
11Jul 8, 2023 21:206,1631,591,700,824351,287,6360267,558,912
12Jul 8, 2023 21:206,2131,650,369,069354,169,2500267,038,720