0_0_38819837_2754.cpp: In function 'int judgeCross(stick, stick)':
0_0_38819837_2754.cpp:27:22: error: 'amp' was not declared in this scope
27 | if(pan1==-1 && pan2 == -1) return 2;
| ^~~
0_0_38819837_2754.cpp:27:30: error: expected ')' before ';' token
27 | if(pan1==-1 && pan2 == -1) return 2;
| ~ ^
| )
0_0_38819837_2754.cpp:27:42: error: expected ';' before ')' token
27 | if(pan1==-1 && pan2 == -1) return 2;
| ^
| ;
0_0_38819837_2754.cpp:28:9: error: 'else' without a previous 'if'
28 | else return 1;
| ^~~~
0_0_38819837_2754.cpp: In function 'int main()':
0_0_38819837_2754.cpp:33:20: error: 'amp' was not declared in this scope
33 | while(cin>>num && num){
| ^~~
0_0_38819837_2754.cpp:33:23: error: expected ')' before ';' token
33 | while(cin>>num && num){
| ~ ^
| )
0_0_38819837_2754.cpp:33:25: error: 'amp' was not declared in this scope
33 | while(cin>>num && num){
| ^~~
0_0_38819837_2754.cpp:33:33: error: expected ';' before ')' token
33 | while(cin>>num && num){
| ^
| ;
|