Borderou de evaluare (job #1228401)

Utilizator PTAdrian64Pop-Tifrea Adrian PTAdrian64 Data 14 septembrie 2014 08:11:12
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:66:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(i=n;j=m;i){ ^ user.cpp:66:13: warning: for increment expression has no effect [-Wunused-value] for(i=n;j=m;i){ ^ user.cpp:27:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.in","r",stdin); ^ user.cpp:28:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.out","w",stdout); ^ user.cpp:29:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:32:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^ user.cpp:37:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit248kbTime limit exceeded.0
2Depăşit292kbTime limit exceeded.0
3Depăşit300kbTime limit exceeded.0
4Depăşit1036kbTime limit exceeded.0
5Depăşit1260kbTime limit exceeded.0
6Depăşit2300kbTime limit exceeded.0
7Depăşit4240kbTime limit exceeded.0
8Depăşit3884kbTime limit exceeded.0
9Depăşit4260kbTime limit exceeded.0
10Depăşit3488kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?