Borderou de evaluare (job #1075005)
Utilizator | Data | 8 ianuarie 2014 13:03:40 | |
---|---|---|---|
Problema | Sir | 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:11:23: error: ‘n’ was not declared in this scope
scanf("%d%d%d%d",&n,&x,&y,&z);
^
user.cpp:11:26: error: ‘x’ was not declared in this scope
scanf("%d%d%d%d",&n,&x,&y,&z);
^
user.cpp:11:29: error: ‘y’ was not declared in this scope
scanf("%d%d%d%d",&n,&x,&y,&z);
^
user.cpp:11:32: error: ‘z’ was not declared in this scope
scanf("%d%d%d%d",&n,&x,&y,&z);
^
user.cpp:12:10: error: ‘i’ was not declared in this scope
for (i=1;i<=n;i++)
^
user.cpp:13:17: error: ‘v’ was not declared in this scope
scanf("%d",&v[i]);
^
user.cpp:14:10: error: ‘i’ was not declared in this scope
for (i=1;i<=n;i++)
^
user.cpp:16:14: error: ‘j’ was not declared in this scope
if(i-j+1<=y)
^
user.cpp:18:36: error: ‘v’ was not declared in this scope
while(!maxdeq.empty()&&v[maxdeq.back()]<v[i])
^
user.cpp:22:30: error: ‘v’ was not declared in this scope
maxdeq.push_back(v[i]);
^
user.cpp:30:33: error: statement cannot resolve address of overloaded function
maxdeq.pop_front;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !