Borderou de evaluare (job #2514685)

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

Raport evaluator

Eroare de compilare: main.cpp:20:1: error: 'longn' does not name a type longn,t,e=0,ans=0,sum=0,d=0,v[1000010],q=0,x,y; ^~~~~ main.cpp:22:20: error: expected constructor, destructor, or type conversion before ';' token longputere(int,int); ^ main.cpp: In function 'int32_t main()': main.cpp:28:1: error: 'v' was not declared in this scope v[0]=2; ^ main.cpp:29:1: error: 'q' was not declared in this scope q=1; ^ main.cpp:38:6: error: 't' was not declared in this scope cin>>t; ^ main.cpp:40:14: error: 'n' was not declared in this scope cin>>n; ^ main.cpp:41:9: error: 'sum' was not declared in this scope sum=1; ^~~ main.cpp:42:1: error: 'ans' was not declared in this scope ans=1; ^~~ main.cpp:45:13: error: 'd' was not declared in this scope d=v[i]; ^ main.cpp:46:13: error: 'e' was not declared in this scope e=1; ^ main.cpp:52:9: error: 'x' was not declared in this scope x=putere(d,e); ^ main.cpp:52:21: error: 'putere' was not declared in this scope x=putere(d,e); ^ 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:55:17: error: 'y' was not declared in this scope main.cpp:61:5: error: 'd' was not declared in this scope d=n%int(9973); ^ main.cpp:62:5: error: 'e' was not declared in this scope e=2; ^ Non zero exit status: 1

Ceva nu functioneaza?