Borderou de evaluare (job #1500970)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 12 octombrie 2015 22:14:35
Problema PScNv Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:46:33: warning: pointer to a function used in arithmetic [-Wpointer-arith] if (findFather[Edge[i].x] != findFather[Edge[i].y]) ^ user.cpp:46:58: warning: pointer to a function used in arithmetic [-Wpointer-arith] if (findFather[Edge[i].x] != findFather[Edge[i].y]) ^ user.cpp:23:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("pscnv.in" ,"r", stdin ); ^ user.cpp:24:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("pscnv.out","w", stdout); ^ user.cpp:26:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &N, &M); ^ user.cpp:27:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &start, &finish); ^ user.cpp:31:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &Edge[i].y); ^ user.cpp:32:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &Edge[i].z); ^ user.cpp:33:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &Edge[i].x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2600kbOK10
24ms2604kbOK10
312ms2604kbOK10
464ms2756kbOK10
560ms2760kbOK10
684ms2812kbOK10
7120ms2912kbOK10
8256ms3224kbOK10
9292ms3380kbIncorect0
10268ms3352kbKilled by signal 11(SIGSEGV).0
Punctaj total80

Ceva nu functioneaza?