Borderou de evaluare (job #1604535)
Utilizator | Data | 18 februarie 2016 13:13:59 | |
---|---|---|---|
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;
^
user.cpp:32:5: error: ‘max1’ was not declared in this scope
max1=-INF;
^
user.cpp:33:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n-2;i++)
^
user.cpp:34:12: error: ‘v’ was not declared in this scope
if(v[i]>=max1)
^
user.cpp:37:13: error: ‘p’ was not declared in this scope
p=i;
^
user.cpp:39:5: error: ‘max2’ was not declared in this scope
max2=-INF;
^
user.cpp:40:9: error: ‘i’ was not declared in this scope
for(i=p+1;i<=n-1;i++)
^
user.cpp:40:11: error: ‘p’ was not declared in this scope
for(i=p+1;i<=n-1;i++)
^
user.cpp:41:12: error: ‘v’ was not declared in this scope
if(v[i]>=max2)
^
user.cpp:46:5: error: ‘s1’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !