Borderou de evaluare (job #379899)
Utilizator | Data | 4 ianuarie 2010 12:56:55 | |
---|---|---|---|
Problema | Bcrc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void deque1()’:
user.cpp:18:9: error: ‘r’ was not declared in this scope
deq[++r]=k;
^
user.cpp: In function ‘void deque2(int)’:
user.cpp:29:23: error: ‘d’ was not declared in this scope
while(dist(deq[l],j)>d && l<=q)
^
user.cpp: In function ‘int main()’:
user.cpp:48:2: error: ‘ind’ was not declared in this scope
ind=i&1;
^
user.cpp:74:10: error: ‘c’ was not declared in this scope
if(a[s][c]>=0)
^
user.cpp:40:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bcrc.in","r",stdin);
^
user.cpp:41:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bcrc.out","w",stdout);
^
user.cpp:42:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:49:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&y,&y1,&z);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !