Borderou de evaluare (job #2291173)
Utilizator | Data | 27 noiembrie 2018 18:45:43 | |
---|---|---|---|
Problema | Bursa | Status | done |
Runda | Arhiva Monthly | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from main.cpp:2:0:
main.cpp: In function 'int main()':
main.cpp:28:16: warning: comparison of constant '100000' with boolean expression is always true [-Wbool-compare]
assert(1<=n<=100000);
~~~~^~~
main.cpp:28:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
assert(1<=n<=100000);
~^~~
main.cpp:29:17: warning: comparison of constant '10000000000l' with boolean expression is always true [-Wbool-compare]
asseert(1<=s<=10000000000);
~~~~^~~~~~~~~~~~~
main.cpp:29:14: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
asseert(1<=s<=10000000000);
~^~~
main.cpp:29:30: error: 'asseert' was not declared in this scope
asseert(1<=s<=10000000000);
^
main.cpp:27:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&s);
^
main.cpp:32:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p[i]);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !