Borderou de evaluare (job #1998456)

Utilizator DjokValeriu Motroi Djok Data 7 iulie 2017 22:40:46
Problema Curs Valutar Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cursvalutar.in", "r", stdin); ^ user.cpp:12:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cursvalutar.out", "w", stdout); ^ user.cpp:14:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%d", &t); t; --t) { ^ user.cpp:16:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%d%d", &rs, &n, &m); ^ user.cpp:18:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%lf", &c1), j = 2; j <= m; ++j) scanf("%lf", &c2), dp[j] = max(dp[j], c2 / c1), c1 = c2; ^ user.cpp:18:105: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%lf", &c1), j = 2; j <= m; ++j) scanf("%lf", &c2), dp[j] = max(dp[j], c2 / c1), c1 = c2; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1220ms484kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?