Borderou de evaluare (job #1750056)

Utilizator bogdanluncasubogdan bogdanluncasu Data 29 august 2016 15:36:19
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:19: warning: left operand of comma operator has no effect [-Wunused-value] for(int i=x,j=y;i>0,j>0;){ ^ user.cpp:14:33: 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:15:35: 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:19:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd %hd", &x,&y); ^ user.cpp:22:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^ user.cpp:25:20: 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
10ms472kbRaspuns corect!10
20ms504kbRaspuns corect!10
30ms524kbRaspuns corect!10
40ms1304kbKilled by signal 11(SIGSEGV).0
50ms1540kbKilled by signal 11(SIGSEGV).0
64ms2672kbRaspuns corect!10
712ms4740kbKilled by signal 11(SIGSEGV).0
88ms4372kbRaspuns corect!10
912ms4772kbRaspuns corect!10
108ms3948kbRaspuns corect!10
Punctaj total70

Ceva nu functioneaza?