Pagini recente » Borderou de evaluare (job #184560) | Borderou de evaluare (job #70437) | Borderou de evaluare (job #2006653) | Borderou de evaluare (job #433615) | Borderou de evaluare (job #1308261)
Borderou de evaluare (job #1308261)
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 | 456kb | Partial incorect | 4 |
2 | 0ms | 436kb | Partial incorect | 4 |
3 | 0ms | 400kb | Corect | 10 |
4 | 0ms | 404kb | Partial incorect | 4 |
5 | 0ms | 420kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 420kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 400kb | Partial incorect | 4 |
8 | 0ms | 420kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 436kb | Partial incorect | 4 |
10 | 0ms | 436kb | Corect | 10 |
Punctaj total | 40 |