Borderou de evaluare (job #2282972)
Utilizator | Data | 14 noiembrie 2018 19:55:41 | |
---|---|---|---|
Problema | Factorial | 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:11:5: error: expected initializer before 'fin'
fin >> k;
^~~
main.cpp:12:8: error: 'k' was not declared in this scope
if(k == 0)
^
main.cpp:17:17: error: 'k' was not declared in this scope
while(cnt < k)
^
main.cpp:9:9: warning: unused variable 'n' [-Wunused-variable]
int n, i = 1, cnt = 0, x;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !