Borderou de evaluare (job #1551572)
Utilizator | Data | 16 decembrie 2015 00:56:06 | |
---|---|---|---|
Problema | CMMDC | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int cmmdc(int, int)’:
user.cpp:22:49: error: ‘euclid_gcd_recur’ was not declared in this scope
return euclid_gcd_recur(n, m % n);
^
user.cpp: In function ‘int main()’:
user.cpp:29:11: warning: unused variable ‘fin’ [-Wunused-variable]
FILE *fin = freopen("cmmdc.in", "r", stdin);
^
user.cpp:30:11: warning: unused variable ‘fout’ [-Wunused-variable]
FILE *fout = freopen("cmmdc.out", "w", stdout);
^
user.cpp: In function ‘int cmmdc(int, int)’:
user.cpp:23:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:32:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !