This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 消除后对应空位由上方元素填充 | |
void dropdown() | |
{ | |
vector<pair<int, int>> points; | |
for(int k = 0; k < n; k++) // 蛮力扫描所有列,效率待提高 | |
{ | |
int count = 0; | |
// 检查该列是否需要填充 | |
for(int curi = m-1; curi >= 0; curi--) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
groups: | |
- name: django.rules | |
rules: | |
- record: job:django_http_requests_before_middlewares_total:sum_rate30s | |
expr: sum(rate(django_http_requests_before_middlewares_total[30s])) BY (job) | |
- record: job:django_http_requests_unknown_latency_total:sum_rate30s | |
expr: sum(rate(django_http_requests_unknown_latency_total[30s])) BY (job) | |
- record: job:django_http_ajax_requests_total:sum_rate30s | |
expr: sum(rate(django_http_ajax_requests_total[30s])) BY (job) | |
- record: job:django_http_responses_before_middlewares_total:sum_rate30s |