Pagini recente » Borderou de evaluare (job #347023) | Borderou de evaluare (job #1466104) | Borderou de evaluare (job #1370460) | Borderou de evaluare (job #2064035) | Borderou de evaluare (job #1505470)
Borderou de evaluare (job #1505470)
Raport evaluator
Compilare:
user.cpp: In function ‘void rezolvare()’:
user.cpp:27:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
lungin[i]=lungmax[m[i][0]]+1;
^
user.cpp:28:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pi[i]=pm[m[i][0]];
^
user.cpp:30:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(lungin[i]>lungmax[m[i][strlen(m[i])-1]])
^
user.cpp:32:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
lungmax[m[i][strlen(m[i])-1]]=lungin[i];
^
user.cpp:33:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pm[m[i][strlen(m[i])-1]]=i;
^
user.cpp: In function ‘void citire()’:
user.cpp:12:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.in","r",stdin);
^
user.cpp:13:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 476kb | Corect | 10 |
2 | 0ms | 456kb | Corect | 10 |
3 | 0ms | 416kb | Corect | 10 |
4 | 0ms | 420kb | Corect | 10 |
5 | 4ms | 708kb | Corect | 10 |
6 | 4ms | 848kb | Corect | 10 |
7 | 0ms | 420kb | Corect | 10 |
8 | 8ms | 984kb | Corect | 10 |
9 | 0ms | 448kb | Corect | 10 |
10 | 0ms | 452kb | Corect | 10 |
Punctaj total | 100 |