Borderou de evaluare (job #30881)

Utilizator mariusdrgdragus marius mariusdrg Data 15 martie 2007 11:19:13
Problema Bcrc 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:12:24: error: ‘m’ was not declared in this scope scanf("%d %d",&m,&n); ^ user.cpp:12:27: error: ‘n’ was not declared in this scope scanf("%d %d",&m,&n); ^ user.cpp:13:13: error: ‘i’ was not declared in this scope for(i=1;i<=n;i++) ^ user.cpp:15:35: error: ‘t’ was not declared in this scope scanf("%d %d %d",&t[i],&ca[i],&b[i]); ^ user.cpp:15:41: error: ‘ca’ was not declared in this scope scanf("%d %d %d",&t[i],&ca[i],&b[i]); ^ user.cpp:15:48: error: ‘b’ was not declared in this scope scanf("%d %d %d",&t[i],&ca[i],&b[i]); ^ user.cpp:17:13: error: ‘i’ was not declared in this scope for(i=1;i<=m;i++) ^ user.cpp:19:17: error: ‘a’ was not declared in this scope a[i]=-1; ^ user.cpp:21:9: error: ‘a’ was not declared in this scope a[1]=0; ^ user.cpp:22:13: error: ‘i’ was not declared in this scope for(i=1;i<=n;i++) ^ user.cpp:24:21: error: ‘j’ was not declared in this scope for(j=m-t[i]+t[i-1];j<=n;j++) ^ user.cpp:24:25: error: ‘t’ was not declared in this scope for(j=m-t[i]+t[i-1];j<=n;j++) ^ user.cpp:26:33: error: ‘dq1’ was not declared in this scope while(a[dq1[l]]<a[j]) l--; ^ user.cpp:26:37: error: ‘l’ was not declared in this scope while(a[dq1[l]]<a[j]) l--; ^ user.cpp:27:25: error: ‘l’ was not declared in this scope l++; ^ user.cpp:28:25: error: ‘dq1’ was not declared in this scope dq1[l]=j; ^ user.cpp:30:21: error: ‘j’ was not declared in this scope

Ceva nu functioneaza?