Borderou de evaluare (job #2348003)

Utilizator Arina2003Arina Aioanei Arina2003 Data 19 februarie 2019 11:55:44
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'long long int powlg(long long int, long long int)': main.cpp:14:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(p>0) ^~~~~ main.cpp:23:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' return val; ^~~~~~ main.cpp: In function 'int main()': main.cpp:26:8: error: 'a' was not declared in this scope { f>>a>>p; ^ main.cpp:26:11: error: 'p' was not declared in this scope { f>>a>>p; ^ Non zero exit status: 1

Ceva nu functioneaza?