Pagini recente » Borderou de evaluare (job #2362994) | Borderou de evaluare (job #2125103) | Borderou de evaluare (job #2489716) | Borderou de evaluare (job #534467) | Borderou de evaluare (job #1288170)
Borderou de evaluare (job #1288170)
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 |
1 | 88ms | 9764kb | OK | 10 |
2 | 280ms | 12276kb | OK | 10 |
3 | 308ms | 12668kb | OK | 10 |
4 | 1052ms | 19832kb | OK | 10 |
5 | 1676ms | 29832kb | OK | 10 |
6 | 1472ms | 21708kb | OK | 10 |
7 | 1356ms | 22672kb | OK | 10 |
8 | 1408ms | 30432kb | OK | 10 |
9 | 976ms | 30448kb | OK | 10 |
10 | 1588ms | 28244kb | OK | 10 |
Punctaj total | 100 |