Borderou de evaluare (job #2556449)

Utilizator victorzarzuZarzu Victor victorzarzu Data 24 februarie 2020 21:42:47
Problema Munte Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:5:1: error: expected initializer before 'ifstream' ifstream f("munte.in"); ^~~~~~~~ main.cpp:7:1: error: 'll' does not name a type ll n, d, k; ^~ main.cpp:8:1: error: 'll' does not name a type ll vf[105]; ^~ main.cpp:9:1: error: 'll' does not name a type ll dp[55][105][55]; ^~ main.cpp: In function 'void Read()': main.cpp:12:5: error: 'f' was not declared in this scope f>>n>>d>>k; ^ main.cpp:12:8: error: 'n' was not declared in this scope f>>n>>d>>k; ^ main.cpp:12:11: error: 'd' was not declared in this scope f>>n>>d>>k; ^ main.cpp:12:14: error: 'k' was not declared in this scope f>>n>>d>>k; ^ main.cpp:14:12: error: 'vf' was not declared in this scope f>>vf[i]; ^~ main.cpp: In function 'void Solve()': main.cpp:19:5: error: 'dp' was not declared in this scope dp[0][1][1] = 1; ^~ main.cpp:20:24: error: 'k' was not declared in this scope for(int p = 0;p <= k;++p) ^ main.cpp:21:28: error: 'd' was not declared in this scope for(int i = 2;i <= d;++i) ^ main.cpp:22:32: error: 'n' was not declared in this scope for(int j = 1;j <= n;++j) ^ main.cpp:24:34: error: 'vf' was not declared in this scope if(p > 0 && j == vf[p]) ^~ main.cpp:29:11: error: 'k' was not declared in this scope g<<dp[k][d - 1][1]; ^ main.cpp:29:14: error: 'd' was not declared in this scope g<<dp[k][d - 1][1]; ^ Non zero exit status: 1

Ceva nu functioneaza?