Borderou de evaluare (job #2306058)
| Utilizator | Data | 21 decembrie 2018 16:19:07 | |
|---|---|---|---|
| Problema | Hashuri | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:16:13: error: 'o' was not declared in this scope
for(o=0,p=h[y%M];p&&!o;p=p->U)
^
main.cpp:19:19: error: 'o' was not declared in this scope
if(x==1&&!o)
^
main.cpp:25:18: error: 'o' was not declared in this scope
if(x==2&&o)
^
main.cpp:31:23: error: 'o' was not declared in this scope
printf("%d\n",o);
^
main.cpp:12:85: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.in","r",stdin),freopen("hashuri.out","w",stdout),scanf("%d",&n);
^
main.cpp:12:85: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:12:85: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:15:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
