Borderou de evaluare (job #1616872)
Utilizator | Data | 27 februarie 2016 12:08:10 | |
---|---|---|---|
Problema | Qmatrix | Status | done |
Runda | Pre OJI 2016 Clasa a 9-a | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:2: error: invalid preprocessing directive #inlcude
#inlcude <ifstream>
^
user.cpp:4:13: error: variable ‘std::ifstream fin’ has initializer but incomplete type
ifstream fin("qmatrix.in");
^
user.cpp:5:14: error: variable ‘std::ofstream fout’ has initializer but incomplete type
ofstream fout("qmatrix.out");
^
user.cpp:6:32: error: expected unqualified-id before ‘;’ token
int vf[1001],i,j,v[1001][1001],;
^
user.cpp: In function ‘int main()’:
user.cpp:9:10: error: ‘n’ was not declared in this scope
fin>>n>>x>>y;//pisica
^
user.cpp:9:13: error: ‘x’ was not declared in this scope
fin>>n>>x>>y;//pisica
^
user.cpp:9:16: error: ‘y’ was not declared in this scope
fin>>n>>x>>y;//pisica
^
user.cpp:12:16: error: ‘q’ was not declared in this scope
{ fin>>q;//pisica
^
user.cpp:13:15: error: ‘m’ was not declared in this scope
for(m=1;m<=q;m++)//pisica
^
user.cpp:14:18: error: ‘L’ was not declared in this scope
fin>>L>>k>>p;
^
user.cpp:14:21: error: ‘k’ was not declared in this scope
fin>>L>>k>>p;
^
user.cpp:14:24: error: ‘p’ was not declared in this scope
fin>>L>>k>>p;
^
user.cpp:15:22: error: ‘p’ was not declared in this scope
if(v[i]==p)
^
user.cpp:17:13: error: expected ‘;’ before ‘fin’
fin>>C>>k>>p;
^
user.cpp:18:22: error: ‘p’ was not declared in this scope
if(v[j]==p)
^
user.cpp:20:18: error: ‘z’ was not declared in this scope
fin>>z>>p;
^
user.cpp:20:21: error: ‘p’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !