Pagini recente » Borderou de evaluare (job #1202858) | Borderou de evaluare (job #2451376) | Borderou de evaluare (job #1153021) | Borderou de evaluare (job #2091647) | Borderou de evaluare (job #1287403)
Borderou de evaluare (job #1287403)
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 ‘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);
^
user.cpp: In function ‘int main()’:
user.cpp:168:40: warning: ‘res’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n", sortedx[res]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 92ms | 12140kb | OK | 10 |
2 | 288ms | 14636kb | OK | 10 |
3 | 308ms | 15044kb | OK | 10 |
4 | 1056ms | 22184kb | OK | 10 |
5 | 1680ms | 32192kb | OK | 10 |
6 | 1476ms | 24064kb | OK | 10 |
7 | 1360ms | 25028kb | OK | 10 |
8 | 356ms | Depăşit | Memory limit exceeded. | 0 |
9 | 352ms | Depăşit | Memory limit exceeded. | 0 |
10 | 1588ms | 30600kb | OK | 10 |
Punctaj total | 80 |