Borderou de evaluare (job #1271892)
Utilizator | Data | 22 noiembrie 2014 13:26:12 | |
---|---|---|---|
Problema | Taste | Status | done |
Runda | FMI No Stress 5 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void gen(long long int)’:
user.cpp:15:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (p<=lim)
^
user.cpp:20:22: error: expected ‘)’ before ‘cat’
if (cat*p<=y cat*p>=x) verifmin(cat,k);
^
user.cpp: In function ‘int main()’:
user.cpp:30:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taste.in","r",stdin);
^
user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taste.out","w",stdout);
^
user.cpp:32:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&x,&y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !