Borderou de evaluare (job #1790391)
Utilizator | Data | 28 octombrie 2016 10:13:36 | |
---|---|---|---|
Problema | Pic | 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:55:6: error: ‘st’ was not declared in this scope
st=1;
^
user.cpp:56:6: error: ‘dr’ was not declared in this scope
dr=51*25;
^
user.cpp:57:12: error: ‘pp’ was not declared in this scope
while(pp==0 && st<=dr)
^
user.cpp:59:12: error: ‘mij’ was not declared in this scope
mij=(st+dr)/2;
^
user.cpp:93:9: error: ‘pp’ was not declared in this scope
if(pp==1)
^
user.cpp:95:24: error: ‘mij’ was not declared in this scope
printf("%d\n",mij);
^
user.cpp:10:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pic.in","r",stdin);
^
user.cpp:11:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pic.out","w",stdout);
^
user.cpp:12:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:13:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:21:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[q][i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !