Borderou de evaluare (job #1836727)

Utilizator catu_bogdan_99Catu Bogdan catu_bogdan_99 Data 28 decembrie 2016 16:45:32
Problema Text3 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:7:28: error: ‘stdin’ was not declared in this scope freopen("text3.in","r",stdin); ^ user.cpp:7:33: error: ‘freopen’ was not declared in this scope freopen("text3.in","r",stdin); ^ user.cpp:8:29: error: ‘stdout’ was not declared in this scope freopen("text3.out","w",stdout); ^ user.cpp:14:28: error: ‘v’ was not declared in this scope for( i = 1; scanf("%s",v[i].t) != EOF; ++i ) n++; ^ user.cpp:14:34: error: ‘scanf’ was not declared in this scope for( i = 1; scanf("%s",v[i].t) != EOF; ++i ) n++; ^ user.cpp:14:39: error: ‘EOF’ was not declared in this scope for( i = 1; scanf("%s",v[i].t) != EOF; ++i ) n++; ^ user.cpp:15:20: error: ‘printf’ was not declared in this scope printf("%d\n",n); ^ user.cpp:18:13: error: ‘v’ was not declared in this scope x = v[i].t[0]; ^ user.cpp:19:33: error: ‘strlen’ was not declared in this scope y = v[i].t[strlen(v[i].t)-1]; ^ user.cpp:20:13: error: ‘D’ was not declared in this scope k = D[x]; ^ user.cpp:21:9: error: ‘P’ was not declared in this scope P[i] = Q[x]; ^ user.cpp:21:16: error: ‘Q’ was not declared in this scope P[i] = Q[x]; ^ user.cpp:10:15: warning: unused variable ‘j’ [-Wunused-variable] int n, i, j, s, d, k, ma, p; ^ user.cpp:10:18: warning: unused variable ‘s’ [-Wunused-variable] int n, i, j, s, d, k, ma, p; ^ user.cpp:10:21: warning: unused variable ‘d’ [-Wunused-variable] int n, i, j, s, d, k, ma, p; ^ user.cpp: In function ‘void afis(int)’: user.cpp:48:9: error: ‘P’ was not declared in this scope if( P[k] > 0 ) afis( P[k] ); ^

Ceva nu functioneaza?