Borderou de evaluare (job #2415320)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:57:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < queries[i].size(); k ++) {
~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void citire()':
main.cpp:19:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
main.cpp:22:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
main.cpp:27:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
main.cpp: In function 'int main()':
main.cpp:69:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("calafat.in", "r", stdin);
^
main.cpp:70:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("calafat.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 11ms | 4980kb | OK | 5 |
| 2 | 14ms | 4980kb | OK | 5 |
| 3 | 14ms | 4980kb | OK | 5 |
| 4 | 14ms | 4980kb | OK | 5 |
| 5 | 44ms | 5898kb | OK | 5 |
| 6 | 45ms | 5898kb | OK | 5 |
| 7 | 61ms | 6291kb | OK | 5 |
| 8 | 70ms | 6553kb | OK | 5 |
| 9 | 70ms | 6553kb | OK | 5 |
| 10 | 84ms | 7340kb | OK | 5 |
| 11 | 125ms | 7864kb | OK | 5 |
| 12 | 135ms | 8519kb | OK | 5 |
| 13 | 138ms | 8519kb | OK | 5 |
| 14 | 142ms | 8388kb | OK | 5 |
| 15 | 392ms | 14942kb | OK | 5 |
| 16 | 372ms | 15073kb | OK | 5 |
| 17 | 382ms | 14680kb | OK | 5 |
| 18 | 366ms | 14942kb | OK | 5 |
| 19 | 447ms | 15335kb | OK | 5 |
| 20 | 401ms | 15335kb | OK | 5 |
| Punctaj total | 100 |