Borderou de evaluare (job #2861792)

Utilizator filiptudose2007Tudose Filip filiptudose2007 Data 4 martie 2022 14:21:45
Problema Abx Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:1: error: 'll' does not name a type 6 | ll i,k,n,v[2000009],x,m; | ^~ main.cpp: In function 'void generare()': main.cpp:10:5: error: 'll' was not declared in this scope 10 | ll p; | ^~ main.cpp:11:17: error: expected ';' before 'y' 11 | for(y=2;(ll)y*y*y<=m;++y) | ^ | ; main.cpp:11:24: error: 'm' was not declared in this scope 11 | for(y=2;(ll)y*y*y<=m;++y) | ^ main.cpp:11:25: error: expected ')' before ';' token 11 | for(y=2;(ll)y*y*y<=m;++y) | ~ ^ | ) main.cpp:11:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 11 | for(y=2;(ll)y*y*y<=m;++y) | ^~~ main.cpp:11:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 11 | for(y=2;(ll)y*y*y<=m;++y) | ^~ main.cpp:11:29: error: expected ';' before ')' token 11 | for(y=2;(ll)y*y*y<=m;++y) | ^ | ; main.cpp:21:10: error: 'v' was not declared in this scope 21 | sort(v+1,v+k+1); | ^ main.cpp:21:16: error: 'k' was not declared in this scope 21 | sort(v+1,v+k+1); | ^ main.cpp: At global scope: main.cpp:25:8: error: 'll' was not declared in this scope 25 | int cb(ll val) | ^~ main.cpp:37:1: error: 'll' does not name a type 37 | ll answer(ll val) | ^~ main.cpp: In function 'int main()': main.cpp:54:8: error: 'n' was not declared in this scope 54 | f>>n>>m; | ^ main.cpp:54:11: error: 'm' was not declared in this scope 54 | f>>n>>m; | ^ main.cpp:56:9: error: 'i' was not declared in this scope 56 | for(i=1;i<=n;++i) Non zero exit status: 1

Ceva nu functioneaza?