Borderou de evaluare (job #2397676)
Utilizator | Data | 4 aprilie 2019 17:58:40 | |
---|---|---|---|
Problema | Bonus | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void cautbin_sol(long long unsigned int, long long unsigned int, long long unsigned int, long long unsigned int)':
main.cpp:70:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long long i=1;i<=e1;i++){
~^~~~
main.cpp:79:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long long i=1;i<=e2;i++){
~^~~~
main.cpp: In function 'int main()':
main.cpp:134:9: error: 'v' was not declared in this scope
v[5]=solu;
^
main.cpp:103:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bonus.in","r",stdin);
^
main.cpp:104:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bonus.out","w",stdout);
^
main.cpp:108:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
main.cpp:111:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu",&a);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !