Pagini recente » Borderou de evaluare (job #40371) | Borderou de evaluare (job #3170142) | Borderou de evaluare (job #399956) | Borderou de evaluare (job #3232970) | Borderou de evaluare (job #3222681)
Borderou de evaluare (job #3222681)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for(i=0;i<a.size();i++){
| ~^~~~~~~~~
main.cpp:37:32: warning: array subscript has type 'char' [-Wchar-subscripts]
37 | if(!t[x].fiu[d[a[i]]]){k++;
| ^
main.cpp:38:32: warning: array subscript has type 'char' [-Wchar-subscripts]
38 | t[x].fiu[d[a[i]]]=k;
| ^
main.cpp:40:36: warning: array subscript has type 'char' [-Wchar-subscripts]
40 | }else x=t[x].fiu[d[a[i]]];
| ^
main.cpp:44:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for(i=0;i<s.size();++i){
| ~^~~~~~~~~
main.cpp:47:32: warning: array subscript has type 'char' [-Wchar-subscripts]
47 | if(!t[x].fiu[d[s[j]]]) break;
| ^
main.cpp:48:30: warning: array subscript has type 'char' [-Wchar-subscripts]
48 | x=t[x].fiu[d[s[j]]];
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 561kb | OK | 10 |
2 | 1ms | 303kb | OK | 10 |
3 | 1ms | 303kb | OK | 10 |
4 | 3ms | 819kb | OK | 10 |
5 | 3ms | 3444kb | OK | 10 |
6 | 4ms | 3440kb | OK | 10 |
7 | 5ms | 3440kb | OK | 10 |
8 | 49ms | 49283kb | OK | 10 |
9 | 59ms | 55828kb | OK | 10 |
10 | 9ms | 4751kb | OK | 10 |
Punctaj total | 100 |