Borderou de evaluare (job #2477407)
Utilizator | Data | 20 octombrie 2019 12:00:05 | |
---|---|---|---|
Problema | Fractii | 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:7:8: error: 'n' was not declared in this scope
in >> n;
^
main.cpp:12:6: error: 'total' was not declared in this scope
total++;
^~~~~
main.cpp:15:6: error: 'total' was not declared in this scope
total++;
^~~~~
main.cpp:10:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (i != j)
^
main.cpp:18:9: error: 'total' was not declared in this scope
out << total + 1;
^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !