Pagini recente » Borderou de evaluare (job #2094252) | Borderou de evaluare (job #288090) | Borderou de evaluare (job #1959591) | Borderou de evaluare (job #2267904) | Borderou de evaluare (job #1741875)
Borderou de evaluare (job #1741875)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:23: warning: NULL used in arithmetic [-Wpointer-arith]
for(i=1;s[i]!=NULL;++i){
^
user.cpp:51:29: warning: NULL used in arithmetic [-Wpointer-arith]
for(j=i+1;s[j]!=NULL;++j) if(d[j]>d[i]+(j-i)) d[j]=d[i]+(j-i);
^
user.cpp:24:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.in","r",stdin);
^
user.cpp:25:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |