Pagini recente »
Borderou de evaluare (job #344439)
|
Borderou de evaluare (job #644163)
Borderou de evaluare (job #644163)
Raport evaluator
Compilare:
main.cpp: In function 'bool f10(bool (*)[101], int, int)':
main.cpp:11:48: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
11 | return a[i][j]*a[i+1][j]*a[i+2][j]*a[i+2][j+1]*a[i+2][j+2];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'bool f11(bool (*)[101], int, int)':
main.cpp:15:46: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
15 | return a[i][j]*a[i][j+1]*a[i][j+2]*a[i+1][j]*a[i+2][j];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
main.cpp: In function 'bool f12(bool (*)[101], int, int)':
main.cpp:19:48: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
19 | return a[i][j]*a[i][j+1]*a[i][j+2]*a[i+1][j+2]*a[i+2][j+2];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'bool f13(bool (*)[101], int, int)':
main.cpp:23:48: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
23 | return a[i][j]*a[i+1][j]*a[i+2][j]*a[i+2][j-1]*a[i+2][j-2];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'bool f20(bool (*)[101], int, int)':
main.cpp:27:50: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
27 | return a[i][j]*a[i+1][j]*a[i+1][j+1]*a[i+1][j+2]*a[i+2][j];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
main.cpp: In function 'bool f21(bool (*)[101], int, int)':
main.cpp:31:50: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
31 | return a[i][j]*a[i][j+1]*a[i+1][j+1]*a[i+2][j+1]*a[i][j+2];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
main.cpp: In function 'bool f22(bool (*)[101], int, int)':
main.cpp:35:50: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
35 | return a[i][j]*a[i+1][j]*a[i+1][j-1]*a[i+1][j-2]*a[i+2][j];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
main.cpp: In function 'bool f23(bool (*)[101], int, int)':
main.cpp:39:48: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
39 | return a[i][j]*a[i+1][j]*a[i+2][j]*a[i+2][j-1]*a[i+2][j+1];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'bool f30(bool (*)[101], int, int)':
main.cpp:43:48: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
43 | return a[i][j]*a[i][j+1]*a[i+1][j-1]*a[i+1][j]*a[i+2][j];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
main.cpp: In function 'bool f31(bool (*)[101], int, int)':
main.cpp:47:50: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
47 | return a[i][j]*a[i+1][j-1]*a[i+1][j]*a[i+1][j+1]*a[i+2][j+1];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'bool f32(bool (*)[101], int, int)':
main.cpp:51:50: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
51 | return a[i][j]*a[i+1][j]*a[i+1][j+1]*a[i+2][j-1]*a[i+2][j];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
main.cpp: In function 'bool f33(bool (*)[101], int, int)':
main.cpp:55:50: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
55 | return a[i][j]*a[i+1][j]*a[i+1][j+1]*a[i+1][j+2]*a[i+2][j+1];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
OK
|
10
|
2
|
1 ms
|
114 kb
|
OK
|
10
|
3
|
1 ms
|
114 kb
|
OK
|
10
|
4
|
1 ms
|
114 kb
|
OK
|
10
|
5
|
1 ms
|
114 kb
|
OK
|
10
|
6
|
1 ms
|
114 kb
|
OK
|
10
|
7
|
1 ms
|
114 kb
|
OK
|
10
|
8
|
1 ms
|
114 kb
|
OK
|
10
|
9
|
1 ms
|
118 kb
|
OK
|
10
|
10
|
1 ms
|
118 kb
|
OK
|
10
|
Punctaj total
|
100
|