Pagini recente » Borderou de evaluare (job #2167893) | Borderou de evaluare (job #1180608) | Borderou de evaluare (job #381714) | Borderou de evaluare (job #3112173) | Borderou de evaluare (job #1821999)
Borderou de evaluare (job #1821999)
Raport evaluator
Compilare:
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:13:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for( char ch : str1 ) { cnt1[ch] ++; }
^
user.cpp:14:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for( char ch : str2 ) { cnt2[ch] ++; }
^
user.cpp:19:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( cnt2[ch] > 0 ) {
^
user.cpp:20:74: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while( ans.length() > 0 && ans.back() > ch && cnt1[ans.back()] - cnt2[ans.back()] > 0 ) {
^
user.cpp:20:93: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while( ans.length() > 0 && ans.back() > ch && cnt1[ans.back()] - cnt2[ans.back()] > 0 ) {
^
user.cpp:21:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cnt2[ans.back()] ++; ans.pop_back(); }
^
user.cpp:22:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cnt2[ch] --; ans.push_back( ch ); }
^
user.cpp:23:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cnt1[ch] --; }
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 408kb | OK | 7 | 28 |
| 2 | 0ms | 408kb | OK | 7 |
| 3 | 0ms | 404kb | OK | 7 |
| 4 | 0ms | 408kb | OK | 7 |
| 5 | 0ms | 428kb | OK | 7 | 35 |
| 6 | 0ms | 432kb | OK | 7 |
| 7 | 4ms | 596kb | OK | 7 |
| 8 | 0ms | 692kb | OK | 7 |
| 9 | 60ms | 1940kb | OK | 7 |
| 10 | 644ms | 17520kb | OK | 7 | 0 |
| 11 | 120ms | 13156kb | OK | 7 |
| 12 | 1220ms | 27284kb | OK | 7 |
| 13 | 124ms | 7612kb | OK | 7 |
| 14 | Depăşit | 49488kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 49488kb | Time limit exceeded. | 0 |
| Punctaj total | 60 |