Borderou de evaluare (job #1898774)
Utilizator | Data | 2 martie 2017 11:40:57 | |
---|---|---|---|
Problema | Bridge | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:1: error: declaration does not declare anything [-fpermissive]
int ;
^
user.cpp: In function ‘int main()’:
user.cpp:11:8: error: ‘n’ was not declared in this scope
f>>n>>m;
^
user.cpp:11:11: error: ‘m’ was not declared in this scope
f>>n>>m;
^
user.cpp:12:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:14:12: error: ‘v’ was not declared in this scope
f>>v[i];
^
user.cpp:15:22: error: ‘nrtp’ was not declared in this scope
if(v[i]==3) {nrtp++;p[nrtp]=i;}
^
user.cpp:15:29: error: ‘p’ was not declared in this scope
if(v[i]==3) {nrtp++;p[nrtp]=i;}
^
user.cpp:17:9: error: ‘i’ was not declared in this scope
for(i=1;i<=nrtp;i++)
^
user.cpp:17:16: error: ‘nrtp’ was not declared in this scope
for(i=1;i<=nrtp;i++)
^
user.cpp:18:12: error: ‘t’ was not declared in this scope
f>>t[p[i]];
^
user.cpp:18:14: error: ‘p’ was not declared in this scope
f>>t[p[i]];
^
user.cpp:20:5: error: ‘s’ was not declared in this scope
s[1]=0;
^
user.cpp:21:9: error: ‘i’ was not declared in this scope
for(i=2;i<n;i++)
^
user.cpp:23:12: error: ‘v’ was not declared in this scope
if(v[i]==0)
^
user.cpp:27:12: error: ‘v’ was not declared in this scope
if(v[i]==1 )
^
user.cpp:28:5: error: expected primary-expression before ‘}’ token
}
^
user.cpp:28:5: error: expected ‘;’ before ‘}’ token
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !