0_0_18301396_30049.cpp: In function 'int judge(LL, LL)':
0_0_18301396_30049.cpp:20:13: error: expected '}' before 'else'
else if (i!=l&&tt%2==1) return false;
^
0_0_18301396_30049.cpp:20:28: error: 'tt' was not declared in this scope
else if (i!=l&&tt%2==1) return false;
^
0_0_18301396_30049.cpp:22:9: error: 'else' without a previous 'if'
else
^
0_0_18301396_30049.cpp:25:20: error: 'i' was not declared in this scope
while (i-1>=l&&!(num[i-1]&1))i--,tt++;
^
0_0_18301396_30049.cpp:26:13: error: 'else' without a previous 'if'
else if (i!=l&&tt%2==0) return false;
^
0_0_18301396_30049.cpp:26:22: error: 'i' was not declared in this scope
else if (i!=l&&tt%2==0) return false;
^
0_0_18301396_30049.cpp: At global scope:
0_0_18301396_30049.cpp:29:5: error: expected unqualified-id before 'return'
return true;
^
0_0_18301396_30049.cpp:30:1: error: expected declaration before '}' token
}
^
|