Pagini recente »
Borderou de evaluare (job #547319)
|
Borderou de evaluare (job #736664)
|
Borderou de evaluare (job #734540)
|
Borderou de evaluare (job #207727)
|
Borderou de evaluare (job #725519)
Borderou de evaluare (job #725519)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:24:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
24 | if(n==matr[i][j+1]==matr[i][j+2]==matr[i][j+3]==matr[i][j+4] && n>0){
| ~^~~~~~~~~~~~~~
main.cpp:24:27: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
24 | if(n==matr[i][j+1]==matr[i][j+2]==matr[i][j+3]==matr[i][j+4] && n>0){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
main.cpp:24:41: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
24 | if(n==matr[i][j+1]==matr[i][j+2]==matr[i][j+3]==matr[i][j+4] && n>0){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
main.cpp:29:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
29 | if(n==matr[i+1][j]==matr[i+2][j]==matr[i+3][j]==matr[i+4][j] && n>0){
| ~^~~~~~~~~~~~~~
main.cpp:29:27: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
29 | if(n==matr[i+1][j]==matr[i+2][j]==matr[i+3][j]==matr[i+4][j] && n>0){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
main.cpp:29:41: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
29 | if(n==matr[i+1][j]==matr[i+2][j]==matr[i+3][j]==matr[i+4][j] && n>0){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
main.cpp:34:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
34 | if(n==matr[i+1][j+1]==matr[i+2][j+2]==matr[i+3][j+3]==matr[i+4][j+4] && n>0){
| ~^~~~~~~~~~~~~~~~
main.cpp:34:29: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
34 | if(n==matr[i+1][j+1]==matr[i+2][j+2]==matr[i+3][j+3]==matr[i+4][j+4] && n>0){
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
main.cpp:34:45: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
34 | if(n==matr[i+1][j+1]==matr[i+2][j+2]==matr[i+3][j+3]==matr[i+4][j+4] && n>0){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
main.cpp:39:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
39 | if(n==matr[i-1][j+1]==matr[i-2][j+2]==matr[i-3][j+3]==matr[i-4][j+4] && n>0){
| ~^~~~~~~~~~~~~~~~
main.cpp:39:29: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
39 | if(n==matr[i-1][j+1]==matr[i-2][j+2]==matr[i-3][j+3]==matr[i-4][j+4] && n>0){
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
main.cpp:39:45: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
39 | if(n==matr[i-1][j+1]==matr[i-2][j+2]==matr[i-3][j+3]==matr[i-4][j+4] && n>0){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
main.cpp:46:34: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
46 | fout<<win<<endl<<x+1<<" "<<y+1;
| ^
main.cpp:15:17: note: 'y' was declared here
15 | int win=0,x,y;
| ^
main.cpp:46:27: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized]
46 | fout<<win<<endl<<x+1<<" "<<y+1;
| ^~~
main.cpp:15:15: note: 'x' was declared here
15 | int win=0,x,y;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
OK
|
10
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
20
|