Borderou de evaluare (job #1011167)
Utilizator | Data | 16 octombrie 2013 13:45:58 | |
---|---|---|---|
Problema | Graf | 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:10:18: error: ‘n’ was not declared in this scope
fscanf(f,"%d%d",&n,&m,&x,&y);
^
user.cpp:10:21: error: ‘m’ was not declared in this scope
fscanf(f,"%d%d",&n,&m,&x,&y);
^
user.cpp:10:24: error: ‘x’ was not declared in this scope
fscanf(f,"%d%d",&n,&m,&x,&y);
^
user.cpp:10:27: error: ‘y’ was not declared in this scope
fscanf(f,"%d%d",&n,&m,&x,&y);
^
user.cpp:11:5: error: ‘i’ was not declared in this scope
for(i=1;i<=m;i++)
^
user.cpp:13:17: error: ‘a’ was not declared in this scope
fscanf(f,"%d",&a,&b);
^
user.cpp:13:20: error: ‘b’ was not declared in this scope
fscanf(f,"%d",&a,&b);
^
user.cpp:14:2: error: ‘v’ was not declared in this scope
v[a][b]=1;
^
user.cpp:17:1: error: ‘p’ was not declared in this scope
p=1;
^
user.cpp:18:1: error: ‘u’ was not declared in this scope
u=1;
^
user.cpp:19:1: error: ‘c’ was not declared in this scope
c[1]=1;
^
user.cpp:20:1: error: ‘b’ was not declared in this scope
b[1]=1;
^
user.cpp:23:6: error: ‘i’ was not declared in this scope
for(i=c[p]+1;i<=n;i++)
^
user.cpp:24:40: error: ‘v’ was not declared in this scope
if ((b[i]==0 || b[c[p]]+1<b[i]) && (v[c[p]][i]=1))
^
user.cpp:26:8: error: ‘l’ was not declared in this scope
l[b[i]]--;
^
user.cpp:33:1: error: ‘maxi’ was not declared in this scope
maxi=b[y]-1;
^
user.cpp: At global scope:
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !