Borderou de evaluare (job #2371388)

Utilizator Senth30Denis-Florin Cringanu Senth30 Data 6 martie 2019 17:25:03
Problema Oo Status done
Runda pregatire_cls10_oji Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:28:23: error: 'n' was not declared in this scope dp[2] = dp[1] = v[n] + v[1]; ^ main.cpp:11:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("oo.in", "r", stdin); ^ main.cpp:12:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("oo.out", "w", stdout); ^ main.cpp:14:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ main.cpp:16:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ Non zero exit status: 1

Ceva nu functioneaza?