Borderou de evaluare (job #1940590)

Utilizator MoodyFaresFares Mohamad MoodyFares Data 26 martie 2017 18:11:58
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(std::vector<int>, std::vector<int>)’: user.cpp:19:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i1 < v1.size() && i2 < v2.size()) { ^ user.cpp:19:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i1 < v1.size() && i2 < v2.size()) { ^ user.cpp:28:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i1 < v1.size()) { ^ user.cpp:32:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i2 < v2.size()) { ^ user.cpp: In function ‘int main()’: user.cpp:74:55: error: ‘upper_bound’ was not declared in this scope it2 = upper_bound(v[j].begin(), v[j].end(), it); ^ user.cpp:85:55: error: ‘upper_bound’ was not declared in this scope it2 = upper_bound(v[i].begin(), v[i].end(), it); ^ user.cpp:50: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:51: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:54: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:57:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ user.cpp:60:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &val); ^ user.cpp:66:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &tip); ^ user.cpp:67: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?