Pagini recente » Borderou de evaluare (job #2332314) | Borderou de evaluare (job #1296861) | Borderou de evaluare (job #920216) | Borderou de evaluare (job #1962498) | Borderou de evaluare (job #2264434)
Borderou de evaluare (job #2264434)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(!d.empty()&&a[d.back()]>=a[i])
^~~~~
main.cpp:18:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
d.push_back(i);
^
main.cpp:10:32: 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:11:32: 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:25: 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:27: 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 | 5ms | 131kb | OK | 5 | 5 |
| 3 | 6ms | 131kb | OK | 5 | 5 |
| 4 | 6ms | 131kb | OK | 5 | 5 |
| 5 | 41ms | 495kb | OK | 5 | 5 |
| 6 | 40ms | 536kb | OK | 5 | 5 |
| 7 | 87ms | 1261kb | OK | 5 | 15 |
| 8 | 83ms | 1052kb | OK | 5 |
| 9 | 73ms | 1060kb | OK | 5 |
| 10 | 85ms | 1355kb | OK | 5 | 15 |
| 11 | 80ms | 1048kb | OK | 5 |
| 12 | 75ms | 1159kb | OK | 5 |
| 13 | 760ms | 10076kb | OK | 5 | 0 |
| 14 | 812ms | 15294kb | OK | 5 |
| 15 | 765ms | 10076kb | OK | 5 |
| 16 | 2165ms | 34996kb | OK | 5 |
| 17 | 2450ms | 15069kb | Time limit exceeded | 0 |
| 18 | 2450ms | 27996kb | Time limit exceeded | 0 |
| 19 | 2451ms | 19587kb | Time limit exceeded | 0 |
| 20 | 2452ms | 17690kb | Time limit exceeded | 0 |
| Punctaj total | 60 |