Borderou de evaluare (job #1604453)
Utilizator | Data | 18 februarie 2016 12:20:15 | |
---|---|---|---|
Problema | Secv7 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:8: error: ‘n’ was not declared in this scope
f>>n;
^
user.cpp:9:10: error: ‘i’ was not declared in this scope
for (i=1;i<=n;i++)
^
user.cpp:10:9: error: ‘fin’ was not declared in this scope
fin>>v[i];
^
user.cpp:10:14: error: ‘v’ was not declared in this scope
fin>>v[i];
^
user.cpp:11:5: error: ‘m3’ was not declared in this scope
m3 = -INF;
^
user.cpp:12:10: error: ‘i’ was not declared in this scope
for (i=n;i>=1;i--) {
^
user.cpp:13:13: error: ‘v’ was not declared in this scope
if (v[i] > m3)
^
user.cpp:15:9: error: ‘max3’ was not declared in this scope
max3[i] = m3;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !