Borderou de evaluare (job #1585591)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 31 ianuarie 2016 11:40:34
Problema Trapez Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:64: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%lld %lld",&puncte[i].first,&puncte[i].second); ^ user.cpp:15:64: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:13:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&N); ^ user.cpp:15:65: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld %lld",&puncte[i].first,&puncte[i].second); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms484kbOk!10
20ms460kbKilled by signal 11(SIGSEGV).0
30ms444kbKilled by signal 11(SIGSEGV).0
40ms456kbKilled by signal 11(SIGSEGV).0
50ms436kbKilled by signal 11(SIGSEGV).0
60ms460kbKilled by signal 11(SIGSEGV).0
70ms448kbKilled by signal 11(SIGSEGV).0
80ms448kbKilled by signal 11(SIGSEGV).0
90ms452kbKilled by signal 11(SIGSEGV).0
100ms448kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?