Borderou de evaluare (job #2514686)

Utilizator Sho10Andrei Alexandru Sho10 Data 26 decembrie 2019 16:57:26
Problema Suma si numarul divizorilor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int32_t main()': main.cpp:54:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(x<0) x=x+int(9973); ^~ main.cpp:55:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' y=putere((d+9972)%int(9973),9971); ^ main.cpp: At global scope: main.cpp:75:13: error: 'long int putere' redeclared as different kind of symbol long putere(longa,longb) { ^~~~~ main.cpp:22:6: note: previous declaration 'long int putere(int, int)' long putere(int,int); ^~~~~~ main.cpp:75:13: error: 'longa' was not declared in this scope long putere(longa,longb) { ^~~~~ main.cpp:75:19: error: 'longb' was not declared in this scope long putere(longa,longb) { ^~~~~ Non zero exit status: 1

Ceva nu functioneaza?