Borderou de evaluare (job #2656302)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (d.size() > k - 1)
~~~~~~~~~^~~~~~~
main.cpp:9:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("deque.in", "r", stdin);
^
main.cpp:10:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("deque.out", "w", stdout);
^
main.cpp:12:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
main.cpp:15:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 5 | 5 |
| 2 | 2ms | 131kb | Incorect | 0 | 0 |
| 3 | 4ms | 131kb | Incorect | 0 | 0 |
| 4 | 4ms | 131kb | Incorect | 0 | 0 |
| 5 | 46ms | 786kb | Incorect | 0 | 0 |
| 6 | 43ms | 786kb | Incorect | 0 | 0 |
| 7 | 100ms | 1179kb | OK | 5 | 15 |
| 8 | 97ms | 1179kb | OK | 5 |
| 9 | 88ms | 1572kb | OK | 5 |
| 10 | 97ms | 1310kb | OK | 5 | 15 |
| 11 | 85ms | 1310kb | OK | 5 |
| 12 | 92ms | 1572kb | OK | 5 |
| 13 | 761ms | 13664kb | OK | 5 | 0 |
| 14 | 744ms | 18235kb | OK | 5 |
| 15 | 793ms | 15278kb | OK | 5 |
| 16 | 2588ms | 32751kb | Time limit exceeded | 0 |
| 17 | 1965ms | 33775kb | OK | 5 |
| 18 | 1918ms | 37519kb | OK | 5 |
| 19 | 2016ms | 33722kb | OK | 5 |
| 20 | 2293ms | 35028kb | OK | 5 |
| Punctaj total | 35 |