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 17:25Yuriy LyfenkoYuriy LyfenkoScore: 4,684Success
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 17:254,6461,243,215,056191,142,00073,669,000265,560,064
2Jan 22, 2024 17:254,6511,256,787,434196,607,00068,514,000265,265,152
3Jan 22, 2024 17:254,6521,250,065,906199,377,00065,784,000264,781,824
4Jan 22, 2024 17:254,6561,287,291,674265,399,9920266,682,368
5Jan 22, 2024 17:254,6651,253,241,282197,667,00068,230,000265,678,848
6Jan 22, 2024 17:254,6681,247,161,441197,073,00068,975,000265,072,640
7Jan 22, 2024 17:254,6841,303,850,393266,970,0110265,887,744
8Jan 22, 2024 17:254,7001,296,399,094267,887,7630265,109,504
9Jan 22, 2024 17:254,7001,257,712,176201,183,00066,719,000264,486,912
10Jan 22, 2024 17:254,7111,266,401,386204,508,00064,038,000264,794,112
11Jan 22, 2024 17:254,7131,277,694,005195,996,00072,628,000264,564,736
12Jan 22, 2024 17:254,7291,270,254,117202,411,00067,126,000264,003,584