Borderou de evaluare (job #1328889)
Utilizator | Data | 28 ianuarie 2015 20:53:48 | |
---|---|---|---|
Problema | Aria | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:20: error: ‘n’ was not declared in this scope
for(int i=1;i<=n;++i)
^
user.cpp:23:7: error: ‘n’ was not declared in this scope
V[n+1].A=V[1].A;
^
user.cpp:29:9: error: ‘ans’ was not declared in this scope
ans += x - y;
^
user.cpp:31:45: error: ‘ans’ was not declared in this scope
fo << setprecision(6) << fixed << 0.5 * ans << '\n';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !