Borderou de evaluare (job #2293439)

Utilizator alexpetrescuAlexandru Petrescu alexpetrescu Data 30 noiembrie 2018 23:22:42
Problema Acolor Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void dfs(int)': main.cpp:9:5: error: 'd' was not declared in this scope d[x][1][1][1] = 1; ^ main.cpp:10:9: error: 'st' was not declared in this scope if (st[x]) { ^~ main.cpp:16:5: error: expected primary-expression before '}' token } ^ main.cpp: In function 'int main()': main.cpp:21:12: error: 'fin' was not declared in this scope fscanf(fin, "%d%d%d", &n, &r, &k); ^~~ main.cpp:24:30: error: 'st' was not declared in this scope fscanf(fin, "%d%d", &st[i], &dr[i]); ^~ main.cpp:24:38: error: 'dr' was not declared in this scope fscanf(fin, "%d%d", &st[i], &dr[i]); ^~ main.cpp:32:24: error: 'd' was not declared in this scope ans += d[r][i][j][p]; ^ main.cpp:32:35: error: 'p' was not declared in this scope ans += d[r][i][j][p]; ^ main.cpp:34:13: error: 'fout' was not declared in this scope fprintf(fout, "%d\n", ans * k % MOD); ^~~~ Non zero exit status: 1

Ceva nu functioneaza?