Borderou de evaluare (job #1309657)

Utilizator geniucosOncescu Costin geniucos Data 5 ianuarie 2015 22:07:40
Problema Hacker2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void solve_dp_cum(int)’: user.cpp:34:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=0; j<fii[nod].size(); j ++) ^ user.cpp: In function ‘int main()’: user.cpp:130:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("hacker2.in", "r", stdin); ^ user.cpp:131:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("hacker2.out", "w", stdout); ^ user.cpp:133:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &N, &M); ^ user.cpp:137:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d %d", &X, &Y, &D); ^ user.cpp:149:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &nod, &dist); ^ user.cpp: In function ‘void solve_dp_cum(int)’: user.cpp:38:19: warning: ‘P’ may be used uninitialized in this function [-Wmaybe-uninitialized] cum[X] = P; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms2660kbBezea.10
24ms2732kbBezea.10
34ms2732kbBezea.10
4Depăşit8740kbTime limit exceeded.0
5Depăşit8488kbTime limit exceeded.0
6Depăşit9316kbTime limit exceeded.0
7Depăşit12024kbTime limit exceeded.0
8Depăşit11752kbTime limit exceeded.0
9Depăşit12092kbTime limit exceeded.0
10Depăşit12088kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?