Borderou de evaluare (job #2612090)
Utilizator | Clelia Maria Dobrescu Clelia | Data | 8 mai 2020 14:38:35 |
---|---|---|---|
Problema | Marmote | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:9:8: error: expected initializer before '>>' token
fin>>n>>m>>k>>l;
^~
main.cpp:10:10: error: 'i' was not declared in this scope
for (i=1;i<=k;i++)
^
main.cpp:10:17: error: 'k' was not declared in this scope
for (i=1;i<=k;i++)
^
main.cpp:12:14: error: 'x' was not declared in this scope
fin>>x>>y;
^
main.cpp:12:17: error: 'y' was not declared in this scope
fin>>x>>y;
^
main.cpp:13:14: error: 'j' was not declared in this scope
for (j=0;j<4;j++)
^
main.cpp:15:13: error: 'lin' was not declared in this scope
lin=x+1000+vL[j]*l;
^~~
main.cpp:15:30: error: 'l' was not declared in this scope
lin=x+1000+vL[j]*l;
^
main.cpp:16:13: error: 'col' was not declared in this scope
col=y+1000+vC[j]*l;
^~~
main.cpp:19:13: error: 'pp' was not declared in this scope
if (pp==1)
^~
main.cpp:20:18: error: 'j' was not declared in this scope
for (j=0;j<4;j++)
^
main.cpp:21:32: error: 'l' was not declared in this scope
a[x+1000+vL[j]*l][y+1000+vC[j]*l]=i;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !