Borderou de evaluare (job #1149154)

Utilizator gapdanPopescu George gapdan Data 21 martie 2014 15:16:05
Problema Drept3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:1: error: expected ‘;’ after struct definition } ^ user.cpp: In function ‘int main()’: user.cpp:24:10: error: ‘i’ was not declared in this scope for (i=1;i<=n;++i) ^ user.cpp:24:17: error: ‘n’ was not declared in this scope for (i=1;i<=n;++i) ^ user.cpp:26:29: error: ‘x’ was not declared in this scope scanf("%d%d%d",&x,&y,&d); ^ user.cpp:26:32: error: ‘y’ was not declared in this scope scanf("%d%d%d",&x,&y,&d); ^ user.cpp:26:35: error: ‘d’ was not declared in this scope scanf("%d%d%d",&x,&y,&d); ^ user.cpp:27:13: error: ‘v’ was not declared in this scope v[i].x1=x; ^ user.cpp:32:10: error: ‘v’ was not declared in this scope sort(v+1,v+n+1,cmp); ^ user.cpp:32:16: error: ‘n’ was not declared in this scope sort(v+1,v+n+1,cmp); ^ user.cpp:34:10: error: ‘i’ was not declared in this scope for (i=1;i<=n;++i) ^ user.cpp:36:9: error: ‘val’ was not declared in this scope val[++dr].x1=v[i].x1; ^ user.cpp:43:36: error: ‘maimare’ was not declared in this scope if (maimare(v[i],val[j])) ++st; ^ user.cpp:44:43: error: ‘intersect’ was not declared in this scope else if (intersect(v[i],val[j])) ^ user.cpp:46:19: error: ‘in’ was not declared in this scope ++in[i];++in[j]; ^ user.cpp:47:17: error: ‘A’ was not declared in this scope A=s ^ user.cpp:47:19: error: ‘s’ was not declared in this scope A=s ^ user.cpp:48:13: error: expected ‘;’ before ‘}’ token

Ceva nu functioneaza?