Borderou de evaluare (job #2108369)

Utilizator maria15Maria Dinca maria15 Data 18 ianuarie 2018 09:45:41
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:31:5: error: ‘f’ was not declared in this scope f[0] = f[1] = 1; ^ user.cpp:34:13: error: ‘prim’ was not declared in this scope prim[++nr] = i; ^ user.cpp:34:20: error: ‘nr’ was not declared in this scope prim[++nr] = i; ^ user.cpp:35:17: error: ‘j’ was not declared in this scope for(j=i+i;j<=dim;j+=i) ^ user.cpp:38:13: error: ‘m’ was not declared in this scope fin>>n>>m; ^ user.cpp:40:9: error: ‘v’ was not declared in this scope v[i] = 1; ^ user.cpp:41:9: error: ‘t’ was not declared in this scope for(t=1;t<=m;t++){ ^ user.cpp:43:9: error: ‘v’ was not declared in this scope v[p[t].a] = cmmmc(v[p[t].a], p[t].div); ^ user.cpp:44:9: error: ‘nr’ was not declared in this scope nr[p[t].a]++; ^ user.cpp:45:9: error: ‘nu’ was not declared in this scope nu[p[t].a][nr[p[t].a]] = p[t].b; ^ user.cpp:50:18: error: ‘v’ was not declared in this scope if(cmmdc(v[p[i].a], v[p[i].b]) != p[i].div){ ^ user.cpp:56:13: error: ‘j’ was not declared in this scope for(j=1;j<=nr[i];j++) ^ user.cpp:56:20: error: ‘nr’ was not declared in this scope for(j=1;j<=nr[i];j++) ^

Ceva nu functioneaza?