Borderou de evaluare (job #1327377)

Utilizator bogfodorBogdan Fodor bogfodor Data 26 ianuarie 2015 17:45: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:61:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] scanf("%d %d",&pf.x,pf.y); ^ user.cpp:49:11: warning: unused variable ‘fin’ [-Wunused-variable] FILE *fin=freopen("alee.in","r",stdin); ^ user.cpp:50:11: warning: unused variable ‘fout’ [-Wunused-variable] FILE *fout=freopen("alee.out","w",stdout); ^ user.cpp:51:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&N,&M); ^ user.cpp:56:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&p.x,&p.y); ^ user.cpp:60:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&pi.x,&pi.y); ^ user.cpp:61:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&pf.x,pf.y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms404kbKilled by signal 11(SIGSEGV).0
20ms404kbKilled by signal 11(SIGSEGV).0
30ms420kbKilled by signal 11(SIGSEGV).0
40ms424kbKilled by signal 11(SIGSEGV).0
50ms436kbKilled by signal 11(SIGSEGV).0
60ms504kbKilled by signal 11(SIGSEGV).0
74ms516kbKilled by signal 11(SIGSEGV).0
80ms520kbKilled by signal 11(SIGSEGV).0
90ms460kbKilled by signal 11(SIGSEGV).0
100ms440kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?