Borderou de evaluare (job #1733946)

Utilizator stefdascalescuStefan Dascalescu stefdascalescu Data 26 iulie 2016 10:39:02
Problema Alee Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&n,&m); ^ user.cpp:15:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:18:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&x,&y); ^ user.cpp:18:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:23:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d%d%d",&sl,&sc,&fl,&fc); ^ user.cpp:23:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:23:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:23:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:13:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alee.in","r",stdin); ^ user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alee.out","w",stdout); ^ user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:18:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^ user.cpp:23:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&sl,&sc,&fl,&fc); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms468kbKilled by signal 11(SIGSEGV).0
20ms476kbKilled by signal 11(SIGSEGV).0
30ms468kbKilled by signal 11(SIGSEGV).0
40ms472kbKilled by signal 11(SIGSEGV).0
50ms480kbKilled by signal 11(SIGSEGV).0
60ms496kbKilled by signal 11(SIGSEGV).0
70ms508kbKilled by signal 11(SIGSEGV).0
80ms504kbKilled by signal 11(SIGSEGV).0
90ms488kbKilled by signal 11(SIGSEGV).0
100ms480kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?