Borderou de evaluare (job #1287412)

Utilizator florin.elfusFlorin Elfus florin.elfus Data 7 decembrie 2014 15:18:42
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ăşit12388kbTime limit exceeded.0
2Depăşit14644kbTime limit exceeded.0
3Depăşit15208kbTime limit exceeded.0
4Depăşit23012kbTime limit exceeded.0
5348ms32712kbKilled by signal 11(SIGSEGV).0
6Depăşit25228kbTime limit exceeded.0
7Depăşit26360kbTime limit exceeded.0
8368msDepăşitMemory limit exceeded.0
9368msDepăşitMemory limit exceeded.0
10Depăşit30660kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?