Pagini recente »
Borderou de evaluare (job #714510)
Borderou de evaluare (job #714510)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:14:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
14 | for(int i=0; i<a.size(); i++)
| ~^~~~~~~~~
main.cpp:15:11: warning: array subscript has type 'char' [-Wchar-subscripts]
15 | v[a[i]]=i;
| ^
main.cpp:19:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
19 | for(int j=0; j<s.size(); j++)
| ~^~~~~~~~~
main.cpp:21:21: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | x=v[s[j]];
| ^
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
249 kb
|
foloseste vectori
|
0
|
|
2
|
109 ms
|
249 kb
|
Time limit exceeded
|
0
|
|
Punctaj total
|
0
|