Borderou de evaluare (job #1371767)

Utilizator thewildnathNathan Wildenberg thewildnath Data 4 martie 2015 01:50:41
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int verific(int)’: user.cpp:55:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < v[st.nod].size (); ++i) ^ user.cpp: In function ‘int main()’: user.cpp:82:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf ("%d", &bun[i]); ^ user.cpp:76:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("lanterna.in", "r", stdin); ^ user.cpp:77:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("lanterna.out", "w", stdout); ^ user.cpp:80:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &n, &k); ^ user.cpp:82:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &bun[i]); ^ user.cpp:83:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &m); ^ user.cpp:87:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d%d", &x, &y, &timp, &cost); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms516kbOK10
216ms496kbOK10
34ms496kbIncorect0
4Depăşit476kbTime limit exceeded.0
544ms500kbIncorect0
6Depăşit464kbTime limit exceeded.0
7Depăşit456kbTime limit exceeded.0
88ms504kbOK10
90ms476kbIncorect0
1092ms496kbIncorect0
Punctaj total30

Ceva nu functioneaza?