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 22, 2024 02:09Yuriy LyfenkoYuriy LyfenkoScore: 4,617Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 02:094,5711,116,562,037194,145,00066,391,000264,585,216
2Jan 22, 2024 02:094,5741,104,423,043196,541,00064,156,000264,941,568
3Jan 22, 2024 02:094,5861,119,426,234194,256,00067,125,000265,580,544
4Jan 22, 2024 02:094,5901,112,275,944193,673,00067,937,000265,584,640
5Jan 22, 2024 02:094,5971,118,634,436197,529,00064,478,000265,261,056
6Jan 22, 2024 02:094,6001,116,410,944190,160,00072,030,000265,109,504
7Jan 22, 2024 02:094,6171,150,885,362263,148,7650264,298,496
8Jan 22, 2024 02:094,6221,111,604,321193,330,00070,119,000264,085,504
9Jan 22, 2024 02:094,6231,169,358,622263,491,7910267,251,712
10Jan 22, 2024 02:094,6471,171,408,429264,854,4760265,170,944
11Jan 22, 2024 02:094,6511,135,814,856200,357,00064,730,000264,208,384
12Jan 22, 2024 02:094,6741,143,717,217188,748,00077,662,000263,884,800