Borderou de evaluare (job #2480626)
Utilizator | Data | 25 octombrie 2019 21:05:40 | |
---|---|---|---|
Problema | Vase | 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:10:5: error: expected unqualified-id before 'long'
long long coord1,coord2,nivel;
^~~~
main.cpp:16:9: error: 'nivel' was not declared in this scope
nivel=nivel+nr/2;
^~~~~
main.cpp:31:10: error: 'nivel' was not declared in this scope
out<<nivel<<endl;
^~~~~
main.cpp:44:9: error: 'coord1' was not declared in this scope
coord1=1;
^~~~~~
main.cpp:50:17: error: 'coord2' was not declared in this scope
coord2=coord1+v3[t][1]-1;
^~~~~~
main.cpp:56:28: error: 'coord2' was not declared in this scope
if(coord1>nivel && coord2>=nivel) //ambele dreapta
^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !