Borderou de evaluare (job #1986592)

Utilizator giotoPopescu Ioan gioto Data 28 mai 2017 18:30:47
Problema Secventa 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘bool check(long double)’: user.cpp:14:21: warning: unused variable ‘val’ [-Wunused-variable] long double val = a[i - l] - v * b[i - l]; ^ user.cpp: In function ‘int main()’: user.cpp:38:24: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘long double’ [-Wformat=] printf("%0.2lf", dr); ^ user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv3.in", "r", stdin); ^ user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv3.out", "w", stdout); ^ user.cpp:28:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &l, &r); ^ user.cpp:29: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", &a[i]); ^ user.cpp:30: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", &b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms320kbWrong answer!0
20ms316kbWrong answer!0
30ms320kbWrong answer!0
44ms352kbWrong answer!0
58ms412kbWrong answer!0
616ms512kbWrong answer!0
728ms604kbWrong answer!0
832ms704kbWrong answer!0
944ms804kbWrong answer!0
1052ms888kbWrong answer!0
Punctaj total0

Ceva nu functioneaza?