Borderou de evaluare (job #1231384)

Utilizator Marius7122FMI Ciltea Marian Marius7122 Data 20 septembrie 2014 14:01:37
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:24:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(f1,"%d %d",&temp.x,&temp.y); ^ user.cpp:24:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:28:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(f1,"%d %d %d %d",&st.x,&st.y,&fin.x,&fin.y); ^ user.cpp:28:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:28:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short unsigned int*’ [-Wformat=] user.cpp:28:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short unsigned int*’ [-Wformat=] user.cpp:14:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d %d",&n,&m); ^ user.cpp:24:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d %d",&temp.x,&temp.y); ^ user.cpp:28:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d %d %d %d",&st.x,&st.y,&fin.x,&fin.y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbKilled by signal 11(SIGSEGV).0
20ms248kbKilled by signal 11(SIGSEGV).0
30ms260kbKilled by signal 11(SIGSEGV).0
40ms264kbKilled by signal 11(SIGSEGV).0
50ms284kbKilled by signal 11(SIGSEGV).0
60ms380kbKilled by signal 11(SIGSEGV).0
74ms416kbKilled by signal 11(SIGSEGV).0
80ms296kbKilled by signal 11(SIGSEGV).0
90ms320kbKilled by signal 11(SIGSEGV).0
100ms280kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?