Borderou de evaluare (job #1588654)

Utilizator akaprosAna Kapros akapros Data 3 februarie 2016 14:04:25
Problema Steins;Gate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void read_edge()’: user.cpp:9:22: error: ‘n’ was not declared in this scope for (i = 1; i <= n; ++ i) ^ user.cpp:11:25: error: ‘x’ was not declared in this scope scanf("%d %d", &x, &y); ^ user.cpp:11:29: error: ‘y’ was not declared in this scope scanf("%d %d", &x, &y); ^ user.cpp: In function ‘void read()’: user.cpp:19:24: error: ‘n’ was not declared in this scope scanf("%d %d %d", &n, &m &k); ^ user.cpp:19:28: error: ‘m’ was not declared in this scope scanf("%d %d %d", &n, &m &k); ^ user.cpp:19:31: error: ‘k’ was not declared in this scope scanf("%d %d %d", &n, &m &k); ^ user.cpp:17:9: warning: unused variable ‘i’ [-Wunused-variable] int i; ^ user.cpp: In function ‘void solve()’: user.cpp:25:12: error: ‘k’ was not declared in this scope while (k --) ^ user.cpp:27:20: error: ‘r’ was not declared in this scope memcpy(r, risk, sizeof(risk)); ^ user.cpp:27:23: error: ‘risk’ was not declared in this scope memcpy(r, risk, sizeof(risk)); ^ user.cpp:28:30: error: ‘n’ was not declared in this scope for (i = 1; i <= n; ++ i) ^ user.cpp:29:22: error: ‘j’ was not declared in this scope for (j = 0; j < V[i].size()) ^ user.cpp:29:44: error: expected ‘;’ before ‘)’ token for (j = 0; j < V[i].size()) ^ user.cpp: In function ‘void write()’: user.cpp:37:5: error: expected initializer before ‘for’ for (i = 1; i <= n; ++ i) ^ user.cpp:37:17: error: ‘i’ was not declared in this scope for (i = 1; i <= n; ++ i) ^ user.cpp:37:22: error: ‘n’ was not declared in this scope

Ceva nu functioneaza?