Borderou de evaluare (job #1483072)

Utilizator heracleRadu Muntean heracle Data 8 septembrie 2015 17:24:45
Problema Praslea Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:86:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] fscanf(in,"%d%d%d%d",&p[i].a,&p[i].b,&p[i].f,&p[i].r); ^ user.cpp:86:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:82:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d",&n,&r); ^ user.cpp:86:56: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d%d%d",&p[i].a,&p[i].b,&p[i].f,&p[i].r); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK10
20ms248kbKilled by signal 11(SIGSEGV).0
30ms252kbKilled by signal 11(SIGSEGV).0
40ms252kbKilled by signal 11(SIGSEGV).0
50ms252kbKilled by signal 11(SIGSEGV).0
60ms252kbKilled by signal 11(SIGSEGV).0
70ms252kbKilled by signal 11(SIGSEGV).0
80ms252kbKilled by signal 11(SIGSEGV).0
9348ms284kbOK10
1088ms248kbKilled by signal 11(SIGSEGV).0
Punctaj total20

Ceva nu functioneaza?