Pagini recente »
Borderou de evaluare (job #74657)
|
Borderou de evaluare (job #60613)
|
Borderou de evaluare (job #349883)
|
Borderou de evaluare (job #506923)
|
Borderou de evaluare (job #711821)
Borderou de evaluare (job #711821)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:35:32: warning: array subscript has type 'char' [-Wchar-subscripts]
35 | mat[i][j]+=val[ch];
| ^~
main.cpp:37:28: warning: array subscript has type 'char' [-Wchar-subscripts]
37 | if(val[pch]<val[ch])
| ^~~
main.cpp:37:37: warning: array subscript has type 'char' [-Wchar-subscripts]
37 | if(val[pch]<val[ch])
| ^~
main.cpp:38:42: warning: array subscript has type 'char' [-Wchar-subscripts]
38 | mat[i][j]-=2*val[pch];
| ^~~
main.cpp:61:32: warning: array subscript has type 'char' [-Wchar-subscripts]
61 | mat[i][j]+=val[ch];
| ^~
main.cpp:63:28: warning: array subscript has type 'char' [-Wchar-subscripts]
63 | if(val[pch]<val[ch])
| ^~~
main.cpp:63:37: warning: array subscript has type 'char' [-Wchar-subscripts]
63 | if(val[pch]<val[ch])
| ^~
main.cpp:64:42: warning: array subscript has type 'char' [-Wchar-subscripts]
64 | mat[i][j]-=2*val[pch];
| ^~~
main.cpp:85:28: warning: array subscript 3 is above array bounds of 'int [3][51]' [-Warray-bounds]
85 | v[j]=v[j]+mat[3][j];
| ~~~~~^
main.cpp:8:5: note: while referencing 'mat'
8 | int mat[3][51];
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
3 ms
|
118 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
2 ms
|
110 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
29 ms
|
249 kb
|
Incorect
|
0
|
7
|
59 ms
|
245 kb
|
Incorect
|
0
|
8
|
79 ms
|
245 kb
|
Incorect
|
0
|
9
|
179 ms
|
249 kb
|
Incorect
|
0
|
10
|
209 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
30
|