Borderou de evaluare (job #1288168)

Utilizator florin.elfusFlorin Elfus florin.elfus Data 8 decembrie 2014 17:38:47
Problema Mess Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void build(int, int, int)’: user.cpp:40:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (ptr1 < AINT[2 * nod].val.size() || ptr2 < AINT[2 * nod + 1].val.size()) { ^ user.cpp:40:81: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (ptr1 < AINT[2 * nod].val.size() || ptr2 < AINT[2 * nod + 1].val.size()) { ^ user.cpp:41:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ptr1 == AINT[2 * nod].val.size()) ^ user.cpp:43:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (ptr2 == AINT[2 * nod + 1].val.size()) ^ user.cpp: In function ‘void update(int, int, int, int, int)’: user.cpp:60:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (AINT[nod].val[med] == val) { ^ user.cpp:64:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (AINT[nod].val[med] < val) ^ user.cpp: In function ‘int cnt(int)’: user.cpp:97:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (AINT[nodes[i]].val[med] <= lim) { ^ user.cpp: In function ‘int main()’: user.cpp:127:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mess.in", "r", stdin); ^ user.cpp:128:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mess.out", "w", stdout); ^ user.cpp:131:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &q); ^ user.cpp:133:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x[i]); ^ user.cpp:145:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &op); ^ user.cpp:148:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &pos); ^ user.cpp:154:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &p, &q, &k); ^ user.cpp: In function ‘void update(int, int, int, int, int)’: user.cpp:77:28: warning: ‘where’ may be used uninitialized in this function [-Wmaybe-uninitialized] where += lsb(where); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit7696kbTime limit exceeded.0
2Depăşit9944kbTime limit exceeded.0
3Depăşit10520kbTime limit exceeded.0
4Depăşit18316kbTime limit exceeded.0
5216ms18140kbKilled by signal 11(SIGSEGV).0
6Depăşit20536kbTime limit exceeded.0
7Depăşit21668kbTime limit exceeded.0
8228ms18648kbKilled by signal 11(SIGSEGV).0
9224ms18664kbKilled by signal 11(SIGSEGV).0
10188ms16904kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?