Pagini recente »
Borderou de evaluare (job #359279)
|
Clasament 11_lmk_vs
|
Borderou de evaluare (job #268748)
|
Borderou de evaluare (job #543118)
|
Borderou de evaluare (job #578076)
Borderou de evaluare (job #578076)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:19: warning: array subscript has type 'char' [-Wchar-subscripts]
19 | in >> fr[i][j];
| ^
main.cpp:24:23: warning: array subscript has type 'char' [-Wchar-subscripts]
24 | formula = fr[i][j];
| ^
main.cpp:30:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
30 | for(int k = 1;k < formula.size();k++){
| ~~^~~~~~~~~~~~~~~~
main.cpp:59:14: warning: array subscript has type 'char' [-Wchar-subscripts]
59 | a[i][j] = ans;
| ^
main.cpp:64:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
64 | for(int k = 0;k < formula.size();k++){
| ~~^~~~~~~~~~~~~~~~
main.cpp:67:14: warning: array subscript has type 'char' [-Wchar-subscripts]
67 | a[i][j] = num;
| ^
main.cpp:75:19: warning: array subscript has type 'char' [-Wchar-subscripts]
75 | out << a[i][j] << ' ';
| ^
main.cpp:36:19: warning: 'num' may be used uninitialized in this function [-Wmaybe-uninitialized]
36 | ans += num;
| ~~~~^~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
262 kb
|
OK
|
10
|
2
|
1 ms
|
262 kb
|
OK
|
10
|
3
|
1 ms
|
262 kb
|
OK
|
10
|
4
|
1 ms
|
262 kb
|
OK
|
10
|
5
|
1 ms
|
262 kb
|
OK
|
10
|
6
|
1 ms
|
262 kb
|
OK
|
10
|
7
|
1 ms
|
262 kb
|
OK
|
10
|
8
|
1 ms
|
262 kb
|
OK
|
10
|
9
|
1 ms
|
262 kb
|
OK
|
10
|
10
|
1 ms
|
262 kb
|
OK
|
10
|
Punctaj total
|
100
|