Borderou de evaluare (job #1801221)
Utilizator | Data | 8 noiembrie 2016 19:30:42 | |
---|---|---|---|
Problema | Panda | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int lee()’:
user.cpp:16:22: error: ‘x1’ was not declared in this scope
Q.push(make_pair(x1,y1));
^
user.cpp:16:25: error: ‘y1’ was not declared in this scope
Q.push(make_pair(x1,y1));
^
user.cpp:17:5: error: ‘a’ was not declared in this scope
a[x1][y1]=1;
^
user.cpp:31:24: error: ‘x2’ was not declared in this scope
if(iv==x2 && jv==y2)
^
user.cpp:31:34: error: ‘y2’ was not declared in this scope
if(iv==x2 && jv==y2)
^
user.cpp: In function ‘int main()’:
user.cpp:48:20: error: ‘t’ was not declared in this scope
for(int i=1;i<=t;i++)
^
user.cpp:55:9: error: ‘a’ was not declared in this scope
a[i][0]=10;
^
user.cpp:41:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("panda.in","r",stdin);
^
user.cpp:42:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("panda.out","w",stdout);
^
user.cpp:45:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&p);
^
user.cpp:46:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n",&n, &m, &p);
^
user.cpp:47:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d\n",&L, &C, &K, &S);
^
user.cpp:50:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !