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 3, 2024 21:34Alexander FrolovAlexander FrolovScore: 5,200Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2024 21:345,065577,814,930288,729,3760265,863,168
2Jan 3, 2024 21:345,081589,343,989289,615,0460266,952,704
3Jan 3, 2024 21:345,120600,315,595291,866,1220266,321,920
4Jan 3, 2024 21:345,181532,657,584228,579,00066,753,000267,694,080
5Jan 3, 2024 21:345,196541,647,857227,998,00068,195,000267,960,320
6Jan 3, 2024 21:345,199531,430,929231,975,00064,380,000267,767,808
7Jan 3, 2024 21:345,200544,520,144231,551,00064,834,000267,960,320
8Jan 3, 2024 21:345,201541,063,258221,861,00074,608,000267,870,208
9Jan 3, 2024 21:345,214543,846,856228,441,00068,734,000267,935,744
10Jan 3, 2024 21:345,250529,100,397226,486,00072,762,000267,993,088
11Jan 3, 2024 21:345,268548,038,343236,691,00063,604,000267,907,072
12Jan 3, 2024 21:345,271540,569,062230,188,00070,278,000267,886,592