Borderou de evaluare (job #1658573)

Utilizator hegedusPaul Hegedus hegedus Data 21 martie 2016 17:26:48
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:13:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&n1,&n2); ^ user.cpp:13:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:15:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&v1[x]); ^ user.cpp:17:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&v2[y]); ^ user.cpp:11:34: 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:12:36: 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:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n1,&n2); ^ user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v1[x]); ^ user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v2[y]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbKilled by signal 11(SIGSEGV).0
20ms432kbKilled by signal 11(SIGSEGV).0
30ms436kbKilled by signal 11(SIGSEGV).0
40ms436kbKilled by signal 11(SIGSEGV).0
50ms436kbKilled by signal 11(SIGSEGV).0
60ms440kbKilled by signal 11(SIGSEGV).0
70ms436kbKilled by signal 11(SIGSEGV).0
80ms440kbKilled by signal 11(SIGSEGV).0
90ms432kbKilled by signal 11(SIGSEGV).0
100ms440kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?