Borderou de evaluare (job #1540914)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 3 decembrie 2015 14:23:41
Problema Cele mai apropiate puncte din plan Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:60:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] scanf ("%d %d", &Points[i].x, Points[i].y); ^ user.cpp:55:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("cmap.in" ,"r", stdin ); ^ user.cpp:56:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("cmap.out","w", stdout); ^ user.cpp:58:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &nrPoints); ^ user.cpp:60:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &Points[i].x, Points[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1804kbKilled by signal 11(SIGSEGV).0
20ms1800kbKilled by signal 11(SIGSEGV).0
30ms1796kbKilled by signal 11(SIGSEGV).0
40ms1796kbKilled by signal 11(SIGSEGV).0
50ms1800kbKilled by signal 11(SIGSEGV).0
60ms1796kbKilled by signal 11(SIGSEGV).0
70ms1796kbKilled by signal 11(SIGSEGV).0
80ms1804kbKilled by signal 11(SIGSEGV).0
90ms1804kbKilled by signal 11(SIGSEGV).0
100ms1804kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?