Borderou de evaluare (job #1750052)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d", &x,&y); ^ user.cpp:17:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:34:19: warning: left operand of comma operator has no effect [-Wunused-value] for(int i=x,j=y;i>0,j>0;){ ^ user.cpp:12: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:13: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:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x,&y); ^ user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^ user.cpp:23: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
10ms468kbRaspuns corect!10
20ms504kbRaspuns corect!10
30ms524kbRaspuns corect!10
40ms1280kbRaspuns corect!10
50ms1508kbRaspuns corect!10
64ms2568kbRaspuns corect!10
712ms4556kbKilled by signal 11(SIGSEGV).0
88ms4200kbRaspuns corect!10
912ms4580kbRaspuns corect!10
108ms3788kbRaspuns corect!10
Punctaj total90

Ceva nu functioneaza?