Pagini recente » Borderou de evaluare (job #1291043) | Borderou de evaluare (job #1134119) | Borderou de evaluare (job #446511) | Borderou de evaluare (job #6519) | Borderou de evaluare (job #1287412)
Borderou de evaluare (job #1287412)
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 |
1 | Depăşit | 12388kb | Time limit exceeded. | 0 |
2 | Depăşit | 14644kb | Time limit exceeded. | 0 |
3 | Depăşit | 15208kb | Time limit exceeded. | 0 |
4 | Depăşit | 23012kb | Time limit exceeded. | 0 |
5 | 348ms | 32712kb | Killed by signal 11(SIGSEGV). | 0 |
6 | Depăşit | 25228kb | Time limit exceeded. | 0 |
7 | Depăşit | 26360kb | Time limit exceeded. | 0 |
8 | 368ms | Depăşit | Memory limit exceeded. | 0 |
9 | 368ms | Depăşit | Memory limit exceeded. | 0 |
10 | Depăşit | 30660kb | Time limit exceeded. | 0 |
Punctaj total | 0 |