Borderou de evaluare (job #1940605)
Utilizator | Data | 26 martie 2017 18:18:13 | |
---|---|---|---|
Problema | Qvect | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void interclasare(int)’:
user.cpp:19:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i1 < v[i].size() && i2 < inter.size()) {
^
user.cpp:19:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i1 < v[i].size() && i2 < inter.size()) {
^
user.cpp:28:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i1 < v[i].size()) {
^
user.cpp:32:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i2 < inter.size()) {
^
user.cpp: In function ‘int main()’:
user.cpp:75:55: error: ‘upper_bound’ was not declared in this scope
it2 = upper_bound(v[j].begin(), v[j].end(), it);
^
user.cpp:86:55: error: ‘upper_bound’ was not declared in this scope
it2 = upper_bound(v[i].begin(), v[i].end(), it);
^
user.cpp:51:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qvect.in", "r", stdin);
^
user.cpp:52:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qvect.out", "w", stdout);
^
user.cpp:55:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &Q);
^
user.cpp:58:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:61:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val);
^
user.cpp:67:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tip);
^
user.cpp:68:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &i, &j);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !