Borderou de evaluare (job #1287411)

Utilizator florin.elfusFlorin Elfus florin.elfus Data 7 decembrie 2014 15:15:02
Problema Mess Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

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:58:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (AINT[nod].val[med] == val) { ^ user.cpp:62: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:95: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:125: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:126: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:129: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:131:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x[i]); ^ user.cpp:143:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &op); ^ user.cpp:146:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &pos); ^ user.cpp:152: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:75:28: warning: ‘where’ may be used uninitialized in this function [-Wmaybe-uninitialized] where += lsb(where); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
192ms12140kbOK10
2284ms14636kbOK10
3312ms15044kbOK10
41056ms22180kbOK10
51688ms32184kbOK10
61476ms24060kbOK10
71360ms25028kbOK10
8356msDepăşitMemory limit exceeded.0
9356msDepăşitMemory limit exceeded.0
101588ms30596kbOK10
Punctaj total80

Ceva nu functioneaza?