Borderou de evaluare (job #2024769)

Utilizator giotoPopescu Ioan gioto Data 21 septembrie 2017 10:28:45
Problema Zmeu2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void bellman()’: user.cpp:19:19: warning: unused variable ‘x’ [-Wunused-variable] short x = *it; ^ user.cpp: In function ‘int main()’: user.cpp:30:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zmeu2.in", "r", stdin); ^ user.cpp:31:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zmeu2.out", "w", stdout); ^ user.cpp:32:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd%hd%hd", &n, &p, &k); ^ user.cpp:34:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd%hd", &t[i], &c[i]); ^ user.cpp:36:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd%hd", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms456kbOK10
20ms432kbOK10
356ms748kbOK10
4Depăşit744kbTime limit exceeded.0
58ms608kbOK10
60ms480kbOK10
74ms532kbOK10
80ms440kbOK10
9Depăşit748kbTime limit exceeded.0
10100ms792kbOK10
Punctaj total80

Ceva nu functioneaza?