Borderou de evaluare (job #1231380)

Utilizator Marius7122FMI Ciltea Marian Marius7122 Data 20 septembrie 2014 13:54:55
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 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 int*’ [-Wformat=] user.cpp:28:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short 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 int*’ [-Wformat=] user.cpp:28:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:28:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:13: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
10ms220kbKilled by signal 11(SIGSEGV).0
20ms216kbKilled by signal 11(SIGSEGV).0
30ms224kbKilled by signal 11(SIGSEGV).0
40ms224kbKilled by signal 11(SIGSEGV).0
50ms240kbKilled by signal 11(SIGSEGV).0
60ms312kbKilled by signal 11(SIGSEGV).0
70ms336kbKilled by signal 11(SIGSEGV).0
80ms344kbKilled by signal 11(SIGSEGV).0
90ms260kbKilled by signal 11(SIGSEGV).0
100ms240kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?