#P10961. 划分大理石
划分大理石
Problem Description
There are marbles with values , respectively. Now you need to divide them into two parts so that the total value of the two parts is equal. Determine whether this is possible. The total number of marbles does not exceed .
Input Format
This problem contains multiple test cases. Each test case is given in a single line with integers, which represent . If all integers in a line are , it indicates the end of the input file.
For each test point, the number of valid test cases does not exceed .
Output Format
For each test case, if the division is successful, output Can; otherwise output Can't.
4 7 4 5 9 1
9 8 1 7 2 4
6 6 8 5 9 2
1 6 6 1 0 7
5 9 3 8 8 4
0 0 0 0 0 0
Can't
Can
Can't
Can't
Can
Hint
Translated by ChatGPT 5