Borderou de evaluare (job #1219712)
Utilizator | Data | 14 august 2014 21:46:39 | |
---|---|---|---|
Problema | Zmeu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:21:1: error: expected initializer before ‘queue’
queue<per>q;
^
user.cpp: In function ‘int main()’:
user.cpp:49:25: error: ‘a’ was not declared in this scope
scanf("%d",&a[i][j]);
^
user.cpp:55:5: error: ‘q’ was not declared in this scope
q.push(mp(1, 1, 0));
^
user.cpp:75:16: error: ‘a’ was not declared in this scope
if(a[xnou][ynou] + z <= p && d[xnou][ynou][z + a[xnou][ynou]] > d[x][y][z])
^
user.cpp:42:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu.in","r",stdin);
^
user.cpp:43:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu.out","w",stdout);
^
user.cpp:45:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&p);
^
user.cpp:53:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&b[i][j]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !