Borderou de evaluare (job #2437337)
Utilizator | Data | 9 iulie 2019 13:09:44 | |
---|---|---|---|
Problema | Algoritmul lui Euclid | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int CMMDC(int, int)':
main.cpp:14:22: warning: left operand of comma operator has no effect [-Wunused-value]
return (a-b,b);
~^~
main.cpp:16:25: warning: left operand of comma operator has no effect [-Wunused-value]
return (a,b-a);
^
main.cpp: In function 'int main()':
main.cpp:21:16: error: expected ';' before ')' token
for(int i=0;i<n);
^
main.cpp:21:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=0;i<n);
^~~
main.cpp:22:1: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
{
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !