Borderou de evaluare (job #2090510)
Utilizator | tudor voicu Fantastic_Man | Data | 18 decembrie 2017 11:59:25 |
---|---|---|---|
Problema | CMMDC | 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:11:11: error: ‘b’ was not declared in this scope
while(b!=0)
^
user.cpp:13:11: error: ‘a’ was not declared in this scope
r=a%b;
^
user.cpp:17:8: error: ‘a’ was not declared in this scope
if(a==1)
^
user.cpp:19:11: error: ‘a’ was not declared in this scope
cout<<a;
^
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmmdc.in","r",stdin);
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmmdc.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !