Borderou de evaluare (job #2024627)

Utilizator giotoPopescu Ioan gioto Data 20 septembrie 2017 22:23:39
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void bellman(int)’: user.cpp:20:17: warning: unused variable ‘x’ [-Wunused-variable] int x = *it; ^ user.cpp: In function ‘int main()’: user.cpp:40:51: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] for(int i = 1; i <= n ; ++i) scanf("%d", &f[i]); ^ user.cpp:37:39: 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:38:41: 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:39:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:40:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= n ; ++i) scanf("%d", &f[i]); ^ user.cpp:41:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:44:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &x, &y, &di, &cons); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
192ms692kbIncorect0
2Depăşit852kbTime limit exceeded.0
328ms664kbOK10
4Depăşit704kbTime limit exceeded.0
5Depăşit744kbTime limit exceeded.0
6Depăşit784kbTime limit exceeded.0
7Depăşit716kbTime limit exceeded.0
812ms680kbOK10
90ms480kbIncorect0
1036ms684kbIncorect0
Punctaj total20

Ceva nu functioneaza?