Code: Select all
3
x1 x2 x3
00000111
4
000
010
111
110
3
x3 x1 x2
00010011
4
000
010
111
110
0
Output 1
Code: Select all
S-Tree #1:
0011
S-Tree #2:
0011
Code: Select all
S-Tree #1:
0011
S-Tree #2:
0011
Moderator: Board moderators
Code: Select all
3
x1 x2 x3
00000111
4
000
010
111
110
3
x3 x1 x2
00010011
4
000
010
111
110
0
Code: Select all
S-Tree #1:
0011
S-Tree #2:
0011
Code: Select all
S-Tree #1:
0011
S-Tree #2:
0011
So output 2 is correct. And I can't think of any critical case.Output a blank line after each test case.
From my A.C. output, I also thought the output2 is the correct output formmat, or you can paste your codes and let us examine it.Donotalo wrote:yes, i think so. output 2 should be correct. but after i got PE in output 2, i tried output 1 and also got PE. that's why i asked for help here, and wondering what's my mistake!