Pagini recente » Borderou de evaluare (job #1723802) | Borderou de evaluare (job #1345003) | Borderou de evaluare (job #549669) | Borderou de evaluare (job #2744749) | Borderou de evaluare (job #1287411)
Borderou de evaluare (job #1287411)
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 | 92ms | 12140kb | OK | 10 |
2 | 284ms | 14636kb | OK | 10 |
3 | 312ms | 15044kb | OK | 10 |
4 | 1056ms | 22180kb | OK | 10 |
5 | 1688ms | 32184kb | OK | 10 |
6 | 1476ms | 24060kb | OK | 10 |
7 | 1360ms | 25028kb | OK | 10 |
8 | 356ms | Depăşit | Memory limit exceeded. | 0 |
9 | 356ms | Depăşit | Memory limit exceeded. | 0 |
10 | 1588ms | 30596kb | OK | 10 |
Punctaj total | 80 |