#P10898. [蓝桥杯 2024 省 C] 拼正方形
[蓝桥杯 2024 省 C] 拼正方形
Problem Description
Xiao Lan is playing a puzzle game. He has pieces of squares and pieces of squares. He needs to choose some of them to assemble a larger square.
For example, using pieces of squares and pieces of squares, you can assemble a square. Using pieces of squares, you can assemble a square.
What is the maximum side length of a square that Xiao Lan can assemble?
Input Format
This is an output-only fill-in-the-blank problem. You only need to compute the answer and submit it. The answer is an integer. When submitting, enter only this integer; any extra content will result in no score.
Output Format
This is an output-only fill-in-the-blank problem. You only need to compute the answer and submit it. The answer is an integer. When submitting, enter only this integer; any extra content will result in no score.
Hint
Translated by ChatGPT 5