- Owner
- Alexandru
- Problem
- Frame
- Source
- 0.49KB
- Result
- Compile error (Non-zero exit status: 1)
Compiler output
prog.cpp: In function 'int main()': prog.cpp:18:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if((y+x-2)*2%v[i]==0 && (v[i]<=x-2 && v[i]<=y) ||(v[i]<=x && v[i]<=y-2))) ^ prog.cpp:18:79: error: expected primary-expression before ')' token if((y+x-2)*2%v[i]==0 && (v[i]<=x-2 && v[i]<=y) ||(v[i]<=x && v[i]<=y-2))) ^