Pagini recente »
Borderou de evaluare (job #752603)
|
Borderou de evaluare (job #745125)
|
2021-10-15-clasa-6-tema-04
|
Borderou de evaluare (job #690835)
|
Borderou de evaluare (job #647370)
Borderou de evaluare (job #647370)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
20 | for(int i=0;i<s.size();++i){
| ~^~~~~~~~~
main.cpp:21:25: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | if(!cod[s[i]]){
| ^
main.cpp:22:25: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | cod[s[i]]=x;
| ^
main.cpp:28:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
28 | for(int i=1;i<s.size();++i){
| ~^~~~~~~~~
main.cpp:34:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
34 | for(int i=0;i<s.size();++i){
| ~^~~~~~~~~
main.cpp:35:22: warning: array subscript has type 'char' [-Wchar-subscripts]
35 | g << cod[s[i]];
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
3 ms
|
114 kb
|
Incorect
|
0
|
2
|
2 ms
|
114 kb
|
Incorect
|
0
|
3
|
4 ms
|
114 kb
|
Incorect
|
0
|
4
|
3 ms
|
114 kb
|
Incorect
|
0
|
5
|
3 ms
|
114 kb
|
Incorect
|
0
|
6
|
3 ms
|
114 kb
|
Incorect
|
0
|
7
|
3 ms
|
114 kb
|
Incorect
|
0
|
8
|
3 ms
|
114 kb
|
Incorect
|
0
|
9
|
3 ms
|
110 kb
|
Incorect
|
0
|
10
|
3 ms
|
237 kb
|
Incorect
|
0
|
Punctaj total
|
0
|