Pagini recente » Cod sursa (job #172455) | Cod sursa (job #1999770) | Cod sursa (job #90004) | Monitorul de evaluare | Borderou de evaluare (job #2651993)
Borderou de evaluare (job #2651993)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:115:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (ptr < V.size() && V[ptr].ff < query_ind[0].ff)
~~~~^~~~~~~~~~
main.cpp:121:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int it = 0; it < query_ind.size(); it++)
~~~^~~~~~~~~~~~~~~~~~
main.cpp:139:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (ptr < V.size() && V[ptr].ff < query_ind[it+1].ff)
~~~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:150: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:150: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:152: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:156: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:166:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
main.cpp:169: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 | 6002ms | 67956kb | Time limit exceeded | 0 | 0 |
| 2 | 6003ms | 67895kb | Time limit exceeded | 0 |
| 3 | 6002ms | 67895kb | Time limit exceeded | 0 |
| 4 | 6003ms | 67895kb | Time limit exceeded | 0 |
| 5 | 6002ms | 61693kb | Time limit exceeded | 0 |
| Punctaj total | 0 |