Borderou de evaluare (job #1556454)

Utilizator georgeliviuPereteanu George georgeliviu Data 24 decembrie 2015 21:24:58
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:35:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d ",&a[i]); ^ user.cpp:39:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d ",&b[i]); ^ user.cpp:29:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmscl.in","r",stdin); ^ user.cpp:30:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmscl.out","w",stdout); ^ user.cpp:32:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:35:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&a[i]); ^ user.cpp:39:27: 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
10ms200kbKilled by signal 11(SIGSEGV).0
20ms200kbKilled by signal 11(SIGSEGV).0
30ms204kbKilled by signal 11(SIGSEGV).0
40ms200kbKilled by signal 11(SIGSEGV).0
50ms200kbKilled by signal 11(SIGSEGV).0
60ms200kbKilled by signal 11(SIGSEGV).0
70ms200kbKilled by signal 11(SIGSEGV).0
80ms200kbKilled by signal 11(SIGSEGV).0
90ms200kbKilled by signal 11(SIGSEGV).0
100ms196kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?