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 listNov 27, 2022 19:36Yuriy LyfenkoYuriy LyfenkoScore: 5,362Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2022 19:365,309540,034,716218,034,00084,564,000266,899,456
2Nov 27, 2022 19:365,309539,265,032217,939,00084,697,000266,940,416
3Nov 27, 2022 19:365,326571,852,775207,018,00096,542,000266,866,688
4Nov 27, 2022 19:365,328554,633,462218,101,00085,609,000266,883,072
5Nov 27, 2022 19:365,332545,585,984217,967,00085,959,000266,883,072
6Nov 27, 2022 19:365,354560,686,307210,753,00094,441,000266,883,072
7Nov 27, 2022 19:365,362551,682,119221,888,00083,731,000266,956,800
8Nov 27, 2022 19:365,363576,800,807205,112,000100,584,000266,797,056
9Nov 27, 2022 19:365,385571,798,658212,046,00094,915,000266,805,248
10Nov 27, 2022 19:365,5701,110,328,099317,468,4120266,043,392
11Nov 27, 2022 19:365,5711,130,014,356317,538,7190265,453,568
12Nov 27, 2022 19:365,8731,362,890,654334,781,3610266,436,608