Borderou de evaluare (job #2434130)

Utilizator farcasvasile06Vasile Farcas farcasvasile06 Data 30 iunie 2019 17:45:17
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:12:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main.cpp:14:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' return a; ^~~~~~ main.cpp: In function 'int main()': main.cpp:22:9: error: 'i' was not declared in this scope for(i=1;i<=n;i++) ^ main.cpp:27:5: error: 'f' was not declared in this scope f.close(); ^ Non zero exit status: 1

Ceva nu functioneaza?