Borderou de evaluare (job #1500972)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 12 octombrie 2015 22:15:09
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
112ms6120kbOK10
212ms6124kbOK10
316ms6124kbOK10
468ms6280kbOK10
564ms6276kbOK10
684ms6324kbOK10
7132ms6432kbOK10
8240ms6744kbOK10
9Depăşit7360kbTime limit exceeded.0
10Depăşit6100kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?