답안 #153148

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
153148 2019-09-12T15:26:37 Z username Two Dishes (JOI19_dishes) C++14
100 / 100
9806 ms 199852 KB
#pragma GCC optimize("O3")
#include<bits/stdc++.h>
#define int int_fast64_t
using namespace std;
typedef pair<int,int> pii;
#define REP(i,j,k) for(int i=(j);i<(k);++i)
#define MAX(x,y) (x=max(x,(y)))
#define mid (l+r>>1)
#define lch (idx*2+1)
#define rch (idx*2+2)
#define pb push_back
#define f first
#define s second

const int maxn=1<<20,inf=1ll<<60;
int n,m,res=0,a[maxn],b[maxn],s[maxn],t[maxn],p[maxn],q[maxn],dat[maxn<<1],t1[maxn<<1],t2[maxn<<1];
vector<pii>v[maxn];

void upd(int idx,int k,int l){dat[idx]+=k,t1[idx]+=k,t2[idx]+=k,MAX(dat[idx],l),MAX(t2[idx],l);}

void psh(int idx){
	upd(lch,t1[idx],t2[idx]);
	upd(rch,t1[idx],t2[idx]);
	t1[idx]=0,t2[idx]=-inf;
}

void mnt(int idx){dat[idx]=max(dat[lch],dat[rch]);}

void add(int l,int r,int idx,int a,int b,int k){
	if(b<=l||r<=a)return;
	else if(a<=l&&r<=b)upd(idx,k,-inf);
	else psh(idx),add(l,mid,lch,a,b,k),add(mid,r,rch,a,b,k),mnt(idx);
}

void enh(int l,int r,int idx,int a,int b,int k){
	if(b<=l||r<=a)return;
	else if(a<=l&&r<=b)upd(idx,0,k);
	else psh(idx),enh(l,mid,lch,a,b,k),enh(mid,r,rch,a,b,k),mnt(idx);
}

int qr(int l,int r,int idx,int p){
	if(l+1==r)return dat[idx];
	else{
		psh(idx);
		if(p<mid)return qr(l,mid,lch,p);
		else return qr(mid,r,rch,p);
	}
}

main(){
	cin>>n>>m;
	REP(i,0,n)cin>>a[i+1]>>s[i]>>p[i],a[i+1]+=a[i];
	REP(i,0,m)cin>>b[i+1]>>t[i]>>q[i],b[i+1]+=b[i];
	REP(i,0,n){
		int x=upper_bound(b,b+m+1,s[i]-a[i+1])-1-b;
		if(x>=0)v[x].pb({i+1,p[i]});
	}
	REP(i,0,m){
		res+=q[i];
		int x=upper_bound(a,a+n+1,t[i]-b[i+1])-1-a;
		if(x<n)v[i].pb({x+1,-q[i]});
	}
	fill(t2,t2+(maxn<<1),-inf);
	REP(i,0,m+1){
		REP(j,0,v[i].size()){
			pii&x=v[i][j];
			add(0,n+1,0,x.f,n+1,x.s);
		}
		if(i==m)return cout<<res+qr(0,n+1,0,n)<<endl,0;
		REP(j,0,v[i].size()){
			pii&x=v[i][j];
			if(x.f)enh(0,n+1,0,x.f,n+1,qr(0,n+1,0,x.f-1));
		}
	}
}

Compilation message

dishes.cpp: In function 'void add(int_fast64_t, int_fast64_t, int_fast64_t, int_fast64_t, int_fast64_t, int_fast64_t)':
dishes.cpp:8:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
dishes.cpp:32:22: note: in expansion of macro 'mid'
  else psh(idx),add(l,mid,lch,a,b,k),add(mid,r,rch,a,b,k),mnt(idx);
                      ^~~
dishes.cpp:8:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
dishes.cpp:32:41: note: in expansion of macro 'mid'
  else psh(idx),add(l,mid,lch,a,b,k),add(mid,r,rch,a,b,k),mnt(idx);
                                         ^~~
dishes.cpp: In function 'void enh(int_fast64_t, int_fast64_t, int_fast64_t, int_fast64_t, int_fast64_t, int_fast64_t)':
dishes.cpp:8:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
dishes.cpp:38:22: note: in expansion of macro 'mid'
  else psh(idx),enh(l,mid,lch,a,b,k),enh(mid,r,rch,a,b,k),mnt(idx);
                      ^~~
dishes.cpp:8:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
dishes.cpp:38:41: note: in expansion of macro 'mid'
  else psh(idx),enh(l,mid,lch,a,b,k),enh(mid,r,rch,a,b,k),mnt(idx);
                                         ^~~
dishes.cpp: In function 'int_fast64_t qr(int_fast64_t, int_fast64_t, int_fast64_t, int_fast64_t)':
dishes.cpp:8:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
dishes.cpp:45:8: note: in expansion of macro 'mid'
   if(p<mid)return qr(l,mid,lch,p);
        ^~~
dishes.cpp:8:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
dishes.cpp:45:24: note: in expansion of macro 'mid'
   if(p<mid)return qr(l,mid,lch,p);
                        ^~~
dishes.cpp:8:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
dishes.cpp:46:18: note: in expansion of macro 'mid'
   else return qr(mid,r,rch,p);
                  ^~~
dishes.cpp: At global scope:
dishes.cpp:50:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main(){
      ^
dishes.cpp: In function 'int main()':
dishes.cpp:6:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define REP(i,j,k) for(int i=(j);i<(k);++i)
                                   ^
dishes.cpp:65:3: note: in expansion of macro 'REP'
   REP(j,0,v[i].size()){
   ^~~
dishes.cpp:6:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define REP(i,j,k) for(int i=(j);i<(k);++i)
                                   ^
dishes.cpp:70:3: note: in expansion of macro 'REP'
   REP(j,0,v[i].size()){
   ^~~
# 결과 실행 시간 메모리 Grader output
1 Correct 1363 ms 81592 KB Output is correct
2 Correct 1389 ms 82004 KB Output is correct
3 Correct 1119 ms 75676 KB Output is correct
4 Correct 1274 ms 77972 KB Output is correct
5 Correct 40 ms 41464 KB Output is correct
6 Correct 1310 ms 80180 KB Output is correct
7 Correct 547 ms 53496 KB Output is correct
8 Correct 646 ms 64544 KB Output is correct
9 Correct 1205 ms 76760 KB Output is correct
10 Correct 1022 ms 75864 KB Output is correct
11 Correct 774 ms 70164 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 39 ms 41464 KB Output is correct
2 Correct 40 ms 41464 KB Output is correct
3 Correct 39 ms 41464 KB Output is correct
4 Correct 39 ms 41464 KB Output is correct
5 Correct 41 ms 41436 KB Output is correct
6 Correct 40 ms 41464 KB Output is correct
7 Correct 39 ms 41432 KB Output is correct
8 Correct 40 ms 41464 KB Output is correct
9 Correct 39 ms 41464 KB Output is correct
10 Correct 39 ms 41464 KB Output is correct
11 Correct 40 ms 41440 KB Output is correct
12 Correct 40 ms 41464 KB Output is correct
13 Correct 47 ms 41464 KB Output is correct
14 Correct 44 ms 41460 KB Output is correct
15 Correct 39 ms 41464 KB Output is correct
16 Correct 40 ms 41464 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 39 ms 41464 KB Output is correct
2 Correct 40 ms 41464 KB Output is correct
3 Correct 39 ms 41464 KB Output is correct
4 Correct 39 ms 41464 KB Output is correct
5 Correct 41 ms 41436 KB Output is correct
6 Correct 40 ms 41464 KB Output is correct
7 Correct 39 ms 41432 KB Output is correct
8 Correct 40 ms 41464 KB Output is correct
9 Correct 39 ms 41464 KB Output is correct
10 Correct 39 ms 41464 KB Output is correct
11 Correct 40 ms 41440 KB Output is correct
12 Correct 40 ms 41464 KB Output is correct
13 Correct 47 ms 41464 KB Output is correct
14 Correct 44 ms 41460 KB Output is correct
15 Correct 39 ms 41464 KB Output is correct
16 Correct 40 ms 41464 KB Output is correct
17 Correct 49 ms 41720 KB Output is correct
18 Correct 49 ms 41720 KB Output is correct
19 Correct 52 ms 41828 KB Output is correct
20 Correct 49 ms 41720 KB Output is correct
21 Correct 50 ms 41720 KB Output is correct
22 Correct 46 ms 41752 KB Output is correct
23 Correct 46 ms 41692 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 39 ms 41464 KB Output is correct
2 Correct 40 ms 41464 KB Output is correct
3 Correct 39 ms 41464 KB Output is correct
4 Correct 39 ms 41464 KB Output is correct
5 Correct 41 ms 41436 KB Output is correct
6 Correct 40 ms 41464 KB Output is correct
7 Correct 39 ms 41432 KB Output is correct
8 Correct 40 ms 41464 KB Output is correct
9 Correct 39 ms 41464 KB Output is correct
10 Correct 39 ms 41464 KB Output is correct
11 Correct 40 ms 41440 KB Output is correct
12 Correct 40 ms 41464 KB Output is correct
13 Correct 47 ms 41464 KB Output is correct
14 Correct 44 ms 41460 KB Output is correct
15 Correct 39 ms 41464 KB Output is correct
16 Correct 40 ms 41464 KB Output is correct
17 Correct 49 ms 41720 KB Output is correct
18 Correct 49 ms 41720 KB Output is correct
19 Correct 52 ms 41828 KB Output is correct
20 Correct 49 ms 41720 KB Output is correct
21 Correct 50 ms 41720 KB Output is correct
22 Correct 46 ms 41752 KB Output is correct
23 Correct 46 ms 41692 KB Output is correct
24 Correct 1040 ms 75856 KB Output is correct
25 Correct 1307 ms 77536 KB Output is correct
26 Correct 1084 ms 78780 KB Output is correct
27 Correct 1085 ms 77668 KB Output is correct
28 Correct 1103 ms 75488 KB Output is correct
29 Correct 1000 ms 73784 KB Output is correct
30 Correct 1512 ms 79856 KB Output is correct
31 Correct 459 ms 54532 KB Output is correct
32 Correct 569 ms 62880 KB Output is correct
33 Correct 1185 ms 77396 KB Output is correct
34 Correct 1386 ms 78868 KB Output is correct
35 Correct 1138 ms 73364 KB Output is correct
36 Correct 1129 ms 73328 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 39 ms 41464 KB Output is correct
2 Correct 40 ms 41464 KB Output is correct
3 Correct 39 ms 41464 KB Output is correct
4 Correct 39 ms 41464 KB Output is correct
5 Correct 41 ms 41436 KB Output is correct
6 Correct 40 ms 41464 KB Output is correct
7 Correct 39 ms 41432 KB Output is correct
8 Correct 40 ms 41464 KB Output is correct
9 Correct 39 ms 41464 KB Output is correct
10 Correct 39 ms 41464 KB Output is correct
11 Correct 40 ms 41440 KB Output is correct
12 Correct 40 ms 41464 KB Output is correct
13 Correct 47 ms 41464 KB Output is correct
14 Correct 44 ms 41460 KB Output is correct
15 Correct 39 ms 41464 KB Output is correct
16 Correct 40 ms 41464 KB Output is correct
17 Correct 49 ms 41720 KB Output is correct
18 Correct 49 ms 41720 KB Output is correct
19 Correct 52 ms 41828 KB Output is correct
20 Correct 49 ms 41720 KB Output is correct
21 Correct 50 ms 41720 KB Output is correct
22 Correct 46 ms 41752 KB Output is correct
23 Correct 46 ms 41692 KB Output is correct
24 Correct 1040 ms 75856 KB Output is correct
25 Correct 1307 ms 77536 KB Output is correct
26 Correct 1084 ms 78780 KB Output is correct
27 Correct 1085 ms 77668 KB Output is correct
28 Correct 1103 ms 75488 KB Output is correct
29 Correct 1000 ms 73784 KB Output is correct
30 Correct 1512 ms 79856 KB Output is correct
31 Correct 459 ms 54532 KB Output is correct
32 Correct 569 ms 62880 KB Output is correct
33 Correct 1185 ms 77396 KB Output is correct
34 Correct 1386 ms 78868 KB Output is correct
35 Correct 1138 ms 73364 KB Output is correct
36 Correct 1129 ms 73328 KB Output is correct
37 Correct 1251 ms 81804 KB Output is correct
38 Correct 1268 ms 80640 KB Output is correct
39 Correct 1253 ms 79464 KB Output is correct
40 Correct 1242 ms 79620 KB Output is correct
41 Correct 40 ms 41464 KB Output is correct
42 Correct 1715 ms 82796 KB Output is correct
43 Correct 1362 ms 80372 KB Output is correct
44 Correct 1513 ms 81536 KB Output is correct
45 Correct 1315 ms 76544 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 39 ms 41464 KB Output is correct
2 Correct 40 ms 41464 KB Output is correct
3 Correct 39 ms 41464 KB Output is correct
4 Correct 39 ms 41464 KB Output is correct
5 Correct 41 ms 41436 KB Output is correct
6 Correct 40 ms 41464 KB Output is correct
7 Correct 39 ms 41432 KB Output is correct
8 Correct 40 ms 41464 KB Output is correct
9 Correct 39 ms 41464 KB Output is correct
10 Correct 39 ms 41464 KB Output is correct
11 Correct 40 ms 41440 KB Output is correct
12 Correct 40 ms 41464 KB Output is correct
13 Correct 47 ms 41464 KB Output is correct
14 Correct 44 ms 41460 KB Output is correct
15 Correct 39 ms 41464 KB Output is correct
16 Correct 40 ms 41464 KB Output is correct
17 Correct 49 ms 41720 KB Output is correct
18 Correct 49 ms 41720 KB Output is correct
19 Correct 52 ms 41828 KB Output is correct
20 Correct 49 ms 41720 KB Output is correct
21 Correct 50 ms 41720 KB Output is correct
22 Correct 46 ms 41752 KB Output is correct
23 Correct 46 ms 41692 KB Output is correct
24 Correct 1040 ms 75856 KB Output is correct
25 Correct 1307 ms 77536 KB Output is correct
26 Correct 1084 ms 78780 KB Output is correct
27 Correct 1085 ms 77668 KB Output is correct
28 Correct 1103 ms 75488 KB Output is correct
29 Correct 1000 ms 73784 KB Output is correct
30 Correct 1512 ms 79856 KB Output is correct
31 Correct 459 ms 54532 KB Output is correct
32 Correct 569 ms 62880 KB Output is correct
33 Correct 1185 ms 77396 KB Output is correct
34 Correct 1386 ms 78868 KB Output is correct
35 Correct 1138 ms 73364 KB Output is correct
36 Correct 1129 ms 73328 KB Output is correct
37 Correct 1251 ms 81804 KB Output is correct
38 Correct 1268 ms 80640 KB Output is correct
39 Correct 1253 ms 79464 KB Output is correct
40 Correct 1242 ms 79620 KB Output is correct
41 Correct 40 ms 41464 KB Output is correct
42 Correct 1715 ms 82796 KB Output is correct
43 Correct 1362 ms 80372 KB Output is correct
44 Correct 1513 ms 81536 KB Output is correct
45 Correct 1315 ms 76544 KB Output is correct
46 Correct 6307 ms 191652 KB Output is correct
47 Correct 6402 ms 187512 KB Output is correct
48 Correct 6486 ms 196096 KB Output is correct
49 Correct 6380 ms 189892 KB Output is correct
50 Correct 9643 ms 199852 KB Output is correct
51 Correct 7293 ms 185408 KB Output is correct
52 Correct 7905 ms 187492 KB Output is correct
53 Correct 7512 ms 186188 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1363 ms 81592 KB Output is correct
2 Correct 1389 ms 82004 KB Output is correct
3 Correct 1119 ms 75676 KB Output is correct
4 Correct 1274 ms 77972 KB Output is correct
5 Correct 40 ms 41464 KB Output is correct
6 Correct 1310 ms 80180 KB Output is correct
7 Correct 547 ms 53496 KB Output is correct
8 Correct 646 ms 64544 KB Output is correct
9 Correct 1205 ms 76760 KB Output is correct
10 Correct 1022 ms 75864 KB Output is correct
11 Correct 774 ms 70164 KB Output is correct
12 Correct 39 ms 41464 KB Output is correct
13 Correct 40 ms 41464 KB Output is correct
14 Correct 39 ms 41464 KB Output is correct
15 Correct 39 ms 41464 KB Output is correct
16 Correct 41 ms 41436 KB Output is correct
17 Correct 40 ms 41464 KB Output is correct
18 Correct 39 ms 41432 KB Output is correct
19 Correct 40 ms 41464 KB Output is correct
20 Correct 39 ms 41464 KB Output is correct
21 Correct 39 ms 41464 KB Output is correct
22 Correct 40 ms 41440 KB Output is correct
23 Correct 40 ms 41464 KB Output is correct
24 Correct 47 ms 41464 KB Output is correct
25 Correct 44 ms 41460 KB Output is correct
26 Correct 39 ms 41464 KB Output is correct
27 Correct 40 ms 41464 KB Output is correct
28 Correct 49 ms 41720 KB Output is correct
29 Correct 49 ms 41720 KB Output is correct
30 Correct 52 ms 41828 KB Output is correct
31 Correct 49 ms 41720 KB Output is correct
32 Correct 50 ms 41720 KB Output is correct
33 Correct 46 ms 41752 KB Output is correct
34 Correct 46 ms 41692 KB Output is correct
35 Correct 1040 ms 75856 KB Output is correct
36 Correct 1307 ms 77536 KB Output is correct
37 Correct 1084 ms 78780 KB Output is correct
38 Correct 1085 ms 77668 KB Output is correct
39 Correct 1103 ms 75488 KB Output is correct
40 Correct 1000 ms 73784 KB Output is correct
41 Correct 1512 ms 79856 KB Output is correct
42 Correct 459 ms 54532 KB Output is correct
43 Correct 569 ms 62880 KB Output is correct
44 Correct 1185 ms 77396 KB Output is correct
45 Correct 1386 ms 78868 KB Output is correct
46 Correct 1138 ms 73364 KB Output is correct
47 Correct 1129 ms 73328 KB Output is correct
48 Correct 1251 ms 81804 KB Output is correct
49 Correct 1268 ms 80640 KB Output is correct
50 Correct 1253 ms 79464 KB Output is correct
51 Correct 1242 ms 79620 KB Output is correct
52 Correct 40 ms 41464 KB Output is correct
53 Correct 1715 ms 82796 KB Output is correct
54 Correct 1362 ms 80372 KB Output is correct
55 Correct 1513 ms 81536 KB Output is correct
56 Correct 1315 ms 76544 KB Output is correct
57 Correct 1289 ms 82280 KB Output is correct
58 Correct 1313 ms 81036 KB Output is correct
59 Correct 1329 ms 80732 KB Output is correct
60 Correct 1310 ms 80572 KB Output is correct
61 Correct 1534 ms 79864 KB Output is correct
62 Correct 39 ms 41464 KB Output is correct
63 Correct 1712 ms 83048 KB Output is correct
64 Correct 1378 ms 80072 KB Output is correct
65 Correct 1524 ms 81344 KB Output is correct
66 Correct 1304 ms 76480 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1363 ms 81592 KB Output is correct
2 Correct 1389 ms 82004 KB Output is correct
3 Correct 1119 ms 75676 KB Output is correct
4 Correct 1274 ms 77972 KB Output is correct
5 Correct 40 ms 41464 KB Output is correct
6 Correct 1310 ms 80180 KB Output is correct
7 Correct 547 ms 53496 KB Output is correct
8 Correct 646 ms 64544 KB Output is correct
9 Correct 1205 ms 76760 KB Output is correct
10 Correct 1022 ms 75864 KB Output is correct
11 Correct 774 ms 70164 KB Output is correct
12 Correct 39 ms 41464 KB Output is correct
13 Correct 40 ms 41464 KB Output is correct
14 Correct 39 ms 41464 KB Output is correct
15 Correct 39 ms 41464 KB Output is correct
16 Correct 41 ms 41436 KB Output is correct
17 Correct 40 ms 41464 KB Output is correct
18 Correct 39 ms 41432 KB Output is correct
19 Correct 40 ms 41464 KB Output is correct
20 Correct 39 ms 41464 KB Output is correct
21 Correct 39 ms 41464 KB Output is correct
22 Correct 40 ms 41440 KB Output is correct
23 Correct 40 ms 41464 KB Output is correct
24 Correct 47 ms 41464 KB Output is correct
25 Correct 44 ms 41460 KB Output is correct
26 Correct 39 ms 41464 KB Output is correct
27 Correct 40 ms 41464 KB Output is correct
28 Correct 49 ms 41720 KB Output is correct
29 Correct 49 ms 41720 KB Output is correct
30 Correct 52 ms 41828 KB Output is correct
31 Correct 49 ms 41720 KB Output is correct
32 Correct 50 ms 41720 KB Output is correct
33 Correct 46 ms 41752 KB Output is correct
34 Correct 46 ms 41692 KB Output is correct
35 Correct 1040 ms 75856 KB Output is correct
36 Correct 1307 ms 77536 KB Output is correct
37 Correct 1084 ms 78780 KB Output is correct
38 Correct 1085 ms 77668 KB Output is correct
39 Correct 1103 ms 75488 KB Output is correct
40 Correct 1000 ms 73784 KB Output is correct
41 Correct 1512 ms 79856 KB Output is correct
42 Correct 459 ms 54532 KB Output is correct
43 Correct 569 ms 62880 KB Output is correct
44 Correct 1185 ms 77396 KB Output is correct
45 Correct 1386 ms 78868 KB Output is correct
46 Correct 1138 ms 73364 KB Output is correct
47 Correct 1129 ms 73328 KB Output is correct
48 Correct 1251 ms 81804 KB Output is correct
49 Correct 1268 ms 80640 KB Output is correct
50 Correct 1253 ms 79464 KB Output is correct
51 Correct 1242 ms 79620 KB Output is correct
52 Correct 40 ms 41464 KB Output is correct
53 Correct 1715 ms 82796 KB Output is correct
54 Correct 1362 ms 80372 KB Output is correct
55 Correct 1513 ms 81536 KB Output is correct
56 Correct 1315 ms 76544 KB Output is correct
57 Correct 6307 ms 191652 KB Output is correct
58 Correct 6402 ms 187512 KB Output is correct
59 Correct 6486 ms 196096 KB Output is correct
60 Correct 6380 ms 189892 KB Output is correct
61 Correct 9643 ms 199852 KB Output is correct
62 Correct 7293 ms 185408 KB Output is correct
63 Correct 7905 ms 187492 KB Output is correct
64 Correct 7512 ms 186188 KB Output is correct
65 Correct 1289 ms 82280 KB Output is correct
66 Correct 1313 ms 81036 KB Output is correct
67 Correct 1329 ms 80732 KB Output is correct
68 Correct 1310 ms 80572 KB Output is correct
69 Correct 1534 ms 79864 KB Output is correct
70 Correct 39 ms 41464 KB Output is correct
71 Correct 1712 ms 83048 KB Output is correct
72 Correct 1378 ms 80072 KB Output is correct
73 Correct 1524 ms 81344 KB Output is correct
74 Correct 1304 ms 76480 KB Output is correct
75 Correct 6456 ms 195044 KB Output is correct
76 Correct 6577 ms 194656 KB Output is correct
77 Correct 6597 ms 191744 KB Output is correct
78 Correct 6541 ms 192180 KB Output is correct
79 Correct 9806 ms 199132 KB Output is correct
80 Correct 7293 ms 189676 KB Output is correct
81 Correct 7915 ms 183804 KB Output is correct
82 Correct 7640 ms 190104 KB Output is correct
83 Correct 8593 ms 192428 KB Output is correct