Pagini recente » Borderou de evaluare (job #2340635) | Borderou de evaluare (job #3034703) | Borderou de evaluare (job #3034714) | Borderou de evaluare (job #1039961) | Borderou de evaluare (job #1308262)
Borderou de evaluare (job #1308262)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:22: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
while(in>>ch[n+1]+1){
^
user.cpp:20:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(d[ch[i][strlen(ch[i]+1)]]+1>d[ch[i][1]]){
^
user.cpp:20:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(d[ch[i][strlen(ch[i]+1)]]+1>d[ch[i][1]]){
^
user.cpp:21:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[ch[i][1]]=d[ch[i][strlen(ch[i]+1)]]+1;
^
user.cpp:21:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[ch[i][1]]=d[ch[i][strlen(ch[i]+1)]]+1;
^
user.cpp:23:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(d[ch[i][1]]>maxim){
^
user.cpp:24:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
maxim=d[ch[i][1]];
^
user.cpp:28:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c[i].max=d[ch[i][strlen(ch[i]+1)]]+1;
^
user.cpp:35:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=1; j<=strlen(ch[i]+1); j++)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 468kb | Partial incorect | 4 |
| 2 | 0ms | 436kb | Partial incorect | 4 |
| 3 | 0ms | 400kb | Corect | 10 |
| 4 | 0ms | 404kb | Partial incorect | 4 |
| 5 | 0ms | 712kb | Partial incorect | 4 |
| 6 | 4ms | 856kb | Corect | 10 |
| 7 | 0ms | 404kb | Partial incorect | 4 |
| 8 | 4ms | 1000kb | Partial incorect | 4 |
| 9 | 0ms | 436kb | Partial incorect | 4 |
| 10 | 0ms | 432kb | Corect | 10 |
| Punctaj total | 58 |