Borderou de evaluare (job #1425718)
Utilizator | Data | 27 aprilie 2015 22:03:31 | |
---|---|---|---|
Problema | Ubercool | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool prime(long long int, long long int)’:
user.cpp:9:26: error: ‘prim’ was not declared in this scope
else return prim(n,d-1);
^
user.cpp: In function ‘int main()’:
user.cpp:28:38: error: ‘prim’ was not declared in this scope
if(prim(rad,rad/2)) ubrc=1;
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ubercool.in","r",stdin);
^
user.cpp:14:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ubercool.out","w",stdout);
^
user.cpp:16:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &t);
^
user.cpp:19:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &x);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !