Borderou de evaluare (job #2102002)

Utilizator giotoPopescu Ioan gioto Data 8 ianuarie 2018 12:38:55
Problema Hektor Status done
Runda vacanta_11_4 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:45:24: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘long double’ [-Wformat=] printf("%.7lf", Sol); ^ user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hektor.in", "r", stdin); ^ user.cpp:33:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hektor.out", "w", stdout); ^ user.cpp:34:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &n, &m, &a, &b); ^ user.cpp:36: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", &c[i]); ^ user.cpp:38:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1140ms5632kbTe-am popit ca-n 2004!00
224ms3052kbTe-am popit ca-n 2004!0
364ms3960kbTe-am popit ca-n 2004!0
412ms2840kbTe-am popit ca-n 2004!0
5132ms5624kbTe-am popit ca-n 2004!0
64ms2692kbTe-am popit ca-n 2004!0
744ms3408kbTe-am popit ca-n 2004!0
8112ms4640kbTe-am popit ca-n 2004!0
9212ms6452kbTe-am popit ca-n 2004!0
10252ms6712kbTe-am popit ca-n 2004!0
Punctaj total0

Ceva nu functioneaza?