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:19Yuriy LyfenkoYuriy LyfenkoScore: 4,768Success
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:194,5591,162,048,340259,840,9350265,265,152
2Jan 22, 2024 17:194,5981,170,452,429262,093,5920267,087,872
3Jan 22, 2024 17:194,6151,156,744,701263,035,8120265,383,936
4Jan 22, 2024 17:194,7531,121,927,899197,404,00073,522,000268,001,280
5Jan 22, 2024 17:194,7551,134,583,445203,796,00067,252,000267,780,096
6Jan 22, 2024 17:194,7661,113,314,207210,931,00060,707,000268,046,336
7Jan 22, 2024 17:194,7681,113,090,138200,568,00071,201,000267,816,960
8Jan 22, 2024 17:194,8051,132,910,351204,659,00069,238,000267,952,128
9Jan 22, 2024 17:194,8071,136,955,320207,496,00066,479,000267,862,016
10Jan 22, 2024 17:194,8071,137,335,682201,284,00072,741,000267,821,056
11Jan 22, 2024 17:194,8121,116,074,454192,860,00081,408,000267,530,240
12Jan 22, 2024 17:194,8311,144,219,424199,142,00076,202,000267,919,360