Pagini recente » Borderou de evaluare (job #1326969) | Borderou de evaluare (job #1376533) | Borderou de evaluare (job #20700) | Borderou de evaluare (job #2214505) | Borderou de evaluare (job #2794206)
Borderou de evaluare (job #2794206)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:107:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
107 | for(int i=0; i<s.size(); i++) {
| ~^~~~~~~~~
main.cpp:108:32: warning: array subscript has type 'char' [-Wchar-subscripts]
108 | Treap::insert(i+1,hash[s[i]]);
| ^
main.cpp:115:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
115 | for(int j=0; j<s.size(); j++) {
| ~^~~~~~~~~
main.cpp:116:38: warning: array subscript has type 'char' [-Wchar-subscripts]
116 | cuv[i]=(1001LL*cuv[i]+hash[s[j]])%mod;
| ^
main.cpp:131:32: warning: array subscript has type 'char' [-Wchar-subscripts]
131 | Treap::insert(ind-1,hash[ch]);
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 57ms | 3055kb | Incorect | 0 |
2 | 70ms | 3219kb | Incorect | 0 |
3 | 688ms | 5427kb | Incorect | 0 |
4 | 1009ms | 5292kb | Incorect | 0 |
5 | 717ms | 5369kb | Incorect | 0 |
6 | 782ms | 5484kb | Incorect | 0 |
7 | 791ms | 5529kb | Incorect | 0 |
8 | 833ms | 5570kb | Incorect | 0 |
9 | 615ms | 7675kb | Incorect | 0 |
10 | 630ms | 5570kb | Incorect | 0 |
Punctaj total | 0 |