Pagini recente » Borderou de evaluare (job #765157) | Borderou de evaluare (job #2651995)
Borderou de evaluare (job #2651995)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:85:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (ptr < V.size() && V[ptr].ff < V[query_ind[0].ff].ff)
~~~~^~~~~~~~~~
main.cpp:91:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int it = 0; it < query_ind.size(); it++)
~~~^~~~~~~~~~~~~~~~~~
main.cpp:109:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (ptr < V.size() && V[ptr].ff < V[query_ind[it+1].ff].ff)
~~~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:120:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("engineer.in", "r", stdin); freopen("engineer.out", "w", stdout);
^
main.cpp:120:74: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("engineer.in", "r", stdin); freopen("engineer.out", "w", stdout);
^
main.cpp:122:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
main.cpp:126:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
main.cpp:134:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
main.cpp:137:95: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d", &query[i].x1, &query[i].y1, &query[i].x2, &query[i].y2, &query[i].k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4986ms | 30384kb | OK | 20 | 100 |
2 | 5120ms | 30384kb | OK | 20 |
3 | 5466ms | 30384kb | OK | 20 |
4 | 5118ms | 30384kb | OK | 20 |
5 | 4196ms | 29859kb | OK | 20 |
Punctaj total | 100 |