Borderou de evaluare (job #2785141)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 18 octombrie 2021 05:59:50
Problema Copaci Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void B()': main.cpp:20:12: error: return-statement with a value, in function returning 'void' [-fpermissive] 20 | return r; | ^ main.cpp: In function 'int main()': main.cpp:24:12: error: void value not ignored as it ought to be 24 | for(n=B(),x=B(),y=B(),w=x,z=y,--n;n;--n) | ~^~ main.cpp:24:18: error: void value not ignored as it ought to be 24 | for(n=B(),x=B(),y=B(),w=x,z=y,--n;n;--n) | ~^~ main.cpp:24:24: error: void value not ignored as it ought to be 24 | for(n=B(),x=B(),y=B(),w=x,z=y,--n;n;--n) | ~^~ main.cpp:25:12: error: void value not ignored as it ought to be 25 | u=B(),v=B(),p+=__gcd(abs(u-x),abs(v-y)),a+=x*v-u*y,x=u,y=v; | ~^~ main.cpp:25:18: error: void value not ignored as it ought to be 25 | u=B(),v=B(),p+=__gcd(abs(u-x),abs(v-y)),a+=x*v-u*y,x=u,y=v; | ~^~ main.cpp:26:8: error: void value not ignored as it ought to be 26 | x=B(),y=B(),a+=x*z-w*y,p+=__gcd(abs(w-x),abs(z-y)),G<<(abs(a)>>1)-p/2+1; | ~^~ main.cpp:26:14: error: void value not ignored as it ought to be 26 | x=B(),y=B(),a+=x*z-w*y,p+=__gcd(abs(w-x),abs(z-y)),G<<(abs(a)>>1)-p/2+1; | ~^~ Non zero exit status: 1

Ceva nu functioneaza?