Borderou de evaluare (job #1972156)
Utilizator | Data | 22 aprilie 2017 11:51:08 | |
---|---|---|---|
Problema | Fructe | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:10: error: ‘n’ was not declared in this scope
fin>>n;
^
user.cpp:11:9: error: ‘i’ was not declared in this scope
for(i=0;i<n;i++)
^
user.cpp:13:14: error: ‘a’ was not declared in this scope
fin>>a>>b;
^
user.cpp:13:17: error: ‘b’ was not declared in this scope
fin>>a>>b;
^
user.cpp:14:24: error: expected primary-expression before ‘)’ token
fout<<(a%2+b%2+)%2<<"\n";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !