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 7, 2024 21:53Yuriy LyfenkoYuriy LyfenkoScore: 5,030Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 7, 2024 21:534,6331,159,946,326264,086,2010267,100,160
2Jan 7, 2024 21:534,6741,176,454,997266,398,2240264,417,280
3Jan 7, 2024 21:534,6971,149,592,709267,756,4260264,765,440
4Jan 7, 2024 21:535,0271,129,503,206221,287,00065,264,000267,874,304
5Jan 7, 2024 21:535,0281,131,229,400213,944,00072,660,000268,013,568
6Jan 7, 2024 21:535,0291,129,148,809220,413,00066,222,000267,997,184
7Jan 7, 2024 21:535,0301,131,001,439213,285,00073,442,000267,878,400
8Jan 7, 2024 21:535,0501,127,894,656221,979,00065,884,000267,976,704
9Jan 7, 2024 21:535,0651,157,351,950213,724,00075,009,000267,976,704
10Jan 7, 2024 21:535,0811,150,438,375220,718,00068,912,000267,853,824
11Jan 7, 2024 21:535,0901,147,740,322222,794,00067,356,000267,816,960
12Jan 7, 2024 21:535,1091,153,878,199222,817,00068,399,000267,845,632