Borderou de evaluare (job #1426661)
Utilizator | Data | 30 aprilie 2015 10:18:33 | |
---|---|---|---|
Problema | Motel | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:19: error: expected unqualified-id before ‘int’
struct du{int x , int y}v[4001];
^
user.cpp: In function ‘int main()’:
user.cpp:9:4: error: ‘n’ was not declared in this scope
f>>n;
^
user.cpp:10:5: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:12:5: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++){
^
user.cpp:13:12: error: ‘a’ was not declared in this scope
f<<a[i];
^
user.cpp:14:9: error: ‘aa’ was not declared in this scope
aa[a[i]]=i;
^
user.cpp:15:15: error: ‘sort’ was not declared in this scope
sort(a+1,a+n+1);
^
user.cpp:17:9: error: ‘Min’ was not declared in this scope
Min=INT_MAX;
^
user.cpp:18:13: error: ‘j’ was not declared in this scope
for(j=1;j<=n;j++)
^
user.cpp:23:1: error: expected ‘}’ at end of input
}
^
user.cpp:23:1: error: expected ‘}’ at end of input
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !