#pragma GCC optimize("Ofast,unroll-loops")
//#pragma GCC optimize("conserve-stack")
#include<bits/stdc++.h>
#define int long long
#define ll long long
#define down cout<<'\n';
#define debug cout<<" cucuucucuuu",down
#define NHP ios_base::sync_with_stdio(0);cout.tie(0);cin.tie(0);
#define modwwe int t;cin>>t; while(t--)
#define bit(i,j) (i>>j&1)
#define sobit(a) __builtin_popcountll(a)
#define task "test"
#define fin(x) freopen(x".inp","r",stdin)
#define fou(x) freopen(x".out","w",stdout)
#define pb push_back
#define mask(i) (1<<i)
#define checktime cerr << (double)clock() / CLOCKS_PER_SEC * 1000 << " ms";
using namespace std;
#define getchar_unlocked getchar
inline int scan()
{
char c = getchar_unlocked();
int x = 0;
while (c < '0' || c > '9')
{
c = getchar_unlocked();
}
while (c >= '0' && c <= '9')
{
x = (x << 1) + (x << 3) + c - '0';
c = getchar_unlocked();
}
return x;
};
void phongbeo();
const int inf = 1e9;
int mod2 = 1e6+3;
const int mod1 = 998244353;
int add(int x,int y)
{
if(x+y>=mod2) x-=mod2;
if(x+y<0) x+=mod2;
return x+y;
}
struct icd
{
long double a;
int b;
};
struct ib
{
int a;
int b;
};
struct ic
{
int a, b, c, d;
};
struct ie
{
int a, b, c, d, e;
};
int n, m, s1, s2, s4, s3, sf, k, s5, s6, mx, s7, s8, s9, mx2, res, dem2 = 0, dem = 0, s33, dem3, dem4, mid, l2, r2, center;
int i, s10, s12,k1,k2,k3,s11,limit,w,l,r,last,root;
int kk,invf;
int el = 19;
main()
{
if(fopen(task".inp","r"))
{
fin(task);
fou(task);
}
NHP
/// cin>>s1;
///modwwe
phongbeo();
// checktime
}
ic a[300001];
vector<ic> v;
struct IT
{
int t[1200001];
int t2[1200001];
void ff(int x)
{
for(int i=x*2; i<=x*2+1; i++)
{
t[i]+=t2[x];
t2[i]+=t2[x];
}
t2[x]=0;
}
void build(int node,int l,int r )
{
if(l==r)
{
t[node]=-a[l].a;
return;
}
int mid=l+r>>1;
build(node<<1,l,mid);
build(node<<1|1,mid+1,r);
t[node]=min(t[node<<1],t[node<<1|1]);
}
void upd(int node,int l,int r,int l1,int r1,int x)
{
if(l>r1||r<l1) return;
if(l>=l1&&r<=r1)
{
t[node]+=x;
t2[node]+=x;
return;
}
if(t2[node]!=0)ff(node);
int mid=l+r>>1;
upd(node<<1,l,mid,l1,r1,x);
upd(node<<1|1,mid+1,r,l1,r1,x);
t[node]=min(t[node<<1],t[node<<1|1]);
}
}st;
bool cmp(ic a,ic b)
{
return a.a<b.a;
}
void phongbeo()
{
cin>>n>>m;
for(int i=1; i<=n; i++)
cin>>a[i].a>>a[i].b>>a[i].c,
swap(a[i].b,a[i].c);
n++;
a[n].a=m;
sort(a+1,a+1+n,cmp);
st.build(1,1,n);
for(int i=1;i<=n-1;i++){
st.upd(1,1,n,i+1,n,a[i].c),
v.pb({a[i].b,a[i].c,i});
}
sort(v.begin(),v.end(),cmp);
for(int i=0;i<v.size();i++)
{
s8=st.t[1];
if(v[i].a+s8>=0)
{
cout<<-s8;
return;
}
st.upd(1,1,n,v[i].c+1,n,-v[i].b);
}
cout<<m;
}
Compilation message
FuelStation.cpp:71:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
71 | main()
| ^~~~
FuelStation.cpp: In member function 'void IT::build(long long int, long long int, long long int)':
FuelStation.cpp:106:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
106 | int mid=l+r>>1;
| ~^~
FuelStation.cpp: In member function 'void IT::upd(long long int, long long int, long long int, long long int, long long int, long long int)':
FuelStation.cpp:121:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
121 | int mid=l+r>>1;
| ~^~
FuelStation.cpp: In function 'void phongbeo()':
FuelStation.cpp:146:15: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<ic>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
146 | for(int i=0;i<v.size();i++)
| ~^~~~~~~~~
FuelStation.cpp: In function 'int main()':
FuelStation.cpp:13:23: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | #define fin(x) freopen(x".inp","r",stdin)
| ~~~~~~~^~~~~~~~~~~~~~~~~~~
FuelStation.cpp:75:9: note: in expansion of macro 'fin'
75 | fin(task);
| ^~~
FuelStation.cpp:14:23: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | #define fou(x) freopen(x".out","w",stdout)
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
FuelStation.cpp:76:9: note: in expansion of macro 'fou'
76 | fou(task);
| ^~~
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
2384 KB |
Output is correct |
2 |
Correct |
1 ms |
2384 KB |
Output is correct |
3 |
Correct |
1 ms |
2552 KB |
Output is correct |
4 |
Correct |
1 ms |
2384 KB |
Output is correct |
5 |
Correct |
1 ms |
2384 KB |
Output is correct |
6 |
Correct |
1 ms |
2384 KB |
Output is correct |
7 |
Correct |
1 ms |
2640 KB |
Output is correct |
8 |
Correct |
1 ms |
2384 KB |
Output is correct |
9 |
Correct |
1 ms |
2384 KB |
Output is correct |
10 |
Correct |
1 ms |
2384 KB |
Output is correct |
11 |
Correct |
1 ms |
2384 KB |
Output is correct |
12 |
Correct |
1 ms |
2384 KB |
Output is correct |
13 |
Correct |
1 ms |
2384 KB |
Output is correct |
14 |
Correct |
1 ms |
2384 KB |
Output is correct |
15 |
Correct |
1 ms |
2384 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
133 ms |
54072 KB |
Output is correct |
2 |
Correct |
141 ms |
54116 KB |
Output is correct |
3 |
Correct |
134 ms |
53940 KB |
Output is correct |
4 |
Correct |
128 ms |
53944 KB |
Output is correct |
5 |
Correct |
132 ms |
54456 KB |
Output is correct |
6 |
Correct |
124 ms |
53444 KB |
Output is correct |
7 |
Correct |
120 ms |
53308 KB |
Output is correct |
8 |
Correct |
118 ms |
53940 KB |
Output is correct |
9 |
Correct |
134 ms |
54708 KB |
Output is correct |
10 |
Correct |
119 ms |
53432 KB |
Output is correct |
11 |
Correct |
126 ms |
53308 KB |
Output is correct |
12 |
Correct |
140 ms |
54004 KB |
Output is correct |
13 |
Correct |
121 ms |
53436 KB |
Output is correct |
14 |
Correct |
124 ms |
54072 KB |
Output is correct |
15 |
Correct |
122 ms |
53944 KB |
Output is correct |
16 |
Correct |
131 ms |
54588 KB |
Output is correct |
17 |
Correct |
124 ms |
54704 KB |
Output is correct |
18 |
Correct |
117 ms |
53944 KB |
Output is correct |
19 |
Correct |
113 ms |
54108 KB |
Output is correct |
20 |
Correct |
119 ms |
53944 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
2384 KB |
Output is correct |
2 |
Correct |
5 ms |
5588 KB |
Output is correct |
3 |
Correct |
5 ms |
5740 KB |
Output is correct |
4 |
Correct |
5 ms |
5588 KB |
Output is correct |
5 |
Correct |
5 ms |
5588 KB |
Output is correct |
6 |
Correct |
5 ms |
5736 KB |
Output is correct |
7 |
Correct |
6 ms |
5588 KB |
Output is correct |
8 |
Correct |
1 ms |
2384 KB |
Output is correct |
9 |
Correct |
1 ms |
2384 KB |
Output is correct |
10 |
Correct |
1 ms |
2384 KB |
Output is correct |
11 |
Correct |
1 ms |
2384 KB |
Output is correct |
12 |
Correct |
1 ms |
2384 KB |
Output is correct |
13 |
Correct |
1 ms |
2384 KB |
Output is correct |
14 |
Correct |
6 ms |
5588 KB |
Output is correct |
15 |
Correct |
7 ms |
5588 KB |
Output is correct |
16 |
Correct |
6 ms |
5616 KB |
Output is correct |
17 |
Correct |
6 ms |
5588 KB |
Output is correct |
18 |
Correct |
7 ms |
5588 KB |
Output is correct |
19 |
Correct |
5 ms |
5588 KB |
Output is correct |
20 |
Correct |
5 ms |
5668 KB |
Output is correct |
21 |
Correct |
5 ms |
5756 KB |
Output is correct |
22 |
Correct |
5 ms |
5588 KB |
Output is correct |
23 |
Correct |
5 ms |
5588 KB |
Output is correct |
24 |
Correct |
5 ms |
5588 KB |
Output is correct |
25 |
Correct |
5 ms |
5588 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
2384 KB |
Output is correct |
2 |
Correct |
5 ms |
5588 KB |
Output is correct |
3 |
Correct |
5 ms |
5740 KB |
Output is correct |
4 |
Correct |
5 ms |
5588 KB |
Output is correct |
5 |
Correct |
5 ms |
5588 KB |
Output is correct |
6 |
Correct |
5 ms |
5736 KB |
Output is correct |
7 |
Correct |
6 ms |
5588 KB |
Output is correct |
8 |
Correct |
1 ms |
2384 KB |
Output is correct |
9 |
Correct |
1 ms |
2384 KB |
Output is correct |
10 |
Correct |
1 ms |
2384 KB |
Output is correct |
11 |
Correct |
1 ms |
2384 KB |
Output is correct |
12 |
Correct |
1 ms |
2384 KB |
Output is correct |
13 |
Correct |
1 ms |
2384 KB |
Output is correct |
14 |
Correct |
6 ms |
5588 KB |
Output is correct |
15 |
Correct |
7 ms |
5588 KB |
Output is correct |
16 |
Correct |
6 ms |
5616 KB |
Output is correct |
17 |
Correct |
6 ms |
5588 KB |
Output is correct |
18 |
Correct |
7 ms |
5588 KB |
Output is correct |
19 |
Correct |
5 ms |
5588 KB |
Output is correct |
20 |
Correct |
5 ms |
5668 KB |
Output is correct |
21 |
Correct |
5 ms |
5756 KB |
Output is correct |
22 |
Correct |
5 ms |
5588 KB |
Output is correct |
23 |
Correct |
5 ms |
5588 KB |
Output is correct |
24 |
Correct |
5 ms |
5588 KB |
Output is correct |
25 |
Correct |
5 ms |
5588 KB |
Output is correct |
26 |
Correct |
1 ms |
2384 KB |
Output is correct |
27 |
Correct |
105 ms |
49816 KB |
Output is correct |
28 |
Correct |
114 ms |
49592 KB |
Output is correct |
29 |
Correct |
113 ms |
49336 KB |
Output is correct |
30 |
Correct |
116 ms |
49472 KB |
Output is correct |
31 |
Correct |
120 ms |
49856 KB |
Output is correct |
32 |
Correct |
122 ms |
49592 KB |
Output is correct |
33 |
Correct |
2 ms |
2384 KB |
Output is correct |
34 |
Correct |
1 ms |
2384 KB |
Output is correct |
35 |
Correct |
1 ms |
2384 KB |
Output is correct |
36 |
Correct |
1 ms |
2384 KB |
Output is correct |
37 |
Correct |
1 ms |
2384 KB |
Output is correct |
38 |
Correct |
2 ms |
2384 KB |
Output is correct |
39 |
Correct |
187 ms |
49844 KB |
Output is correct |
40 |
Correct |
185 ms |
49988 KB |
Output is correct |
41 |
Correct |
187 ms |
49848 KB |
Output is correct |
42 |
Correct |
192 ms |
49848 KB |
Output is correct |
43 |
Correct |
181 ms |
49848 KB |
Output is correct |
44 |
Correct |
146 ms |
49348 KB |
Output is correct |
45 |
Correct |
134 ms |
49076 KB |
Output is correct |
46 |
Correct |
120 ms |
49856 KB |
Output is correct |
47 |
Correct |
112 ms |
51392 KB |
Output is correct |
48 |
Correct |
111 ms |
51388 KB |
Output is correct |
49 |
Correct |
119 ms |
49332 KB |
Output is correct |
50 |
Correct |
112 ms |
49600 KB |
Output is correct |
51 |
Correct |
121 ms |
49588 KB |
Output is correct |
52 |
Correct |
118 ms |
49372 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
2384 KB |
Output is correct |
2 |
Correct |
1 ms |
2384 KB |
Output is correct |
3 |
Correct |
1 ms |
2552 KB |
Output is correct |
4 |
Correct |
1 ms |
2384 KB |
Output is correct |
5 |
Correct |
1 ms |
2384 KB |
Output is correct |
6 |
Correct |
1 ms |
2384 KB |
Output is correct |
7 |
Correct |
1 ms |
2640 KB |
Output is correct |
8 |
Correct |
1 ms |
2384 KB |
Output is correct |
9 |
Correct |
1 ms |
2384 KB |
Output is correct |
10 |
Correct |
1 ms |
2384 KB |
Output is correct |
11 |
Correct |
1 ms |
2384 KB |
Output is correct |
12 |
Correct |
1 ms |
2384 KB |
Output is correct |
13 |
Correct |
1 ms |
2384 KB |
Output is correct |
14 |
Correct |
1 ms |
2384 KB |
Output is correct |
15 |
Correct |
1 ms |
2384 KB |
Output is correct |
16 |
Correct |
1 ms |
2384 KB |
Output is correct |
17 |
Correct |
1 ms |
2384 KB |
Output is correct |
18 |
Correct |
1 ms |
2384 KB |
Output is correct |
19 |
Correct |
1 ms |
2528 KB |
Output is correct |
20 |
Correct |
1 ms |
2384 KB |
Output is correct |
21 |
Correct |
1 ms |
2384 KB |
Output is correct |
22 |
Correct |
1 ms |
2384 KB |
Output is correct |
23 |
Correct |
1 ms |
2384 KB |
Output is correct |
24 |
Correct |
1 ms |
2384 KB |
Output is correct |
25 |
Correct |
1 ms |
2384 KB |
Output is correct |
26 |
Correct |
1 ms |
2384 KB |
Output is correct |
27 |
Correct |
1 ms |
2384 KB |
Output is correct |
28 |
Correct |
1 ms |
2384 KB |
Output is correct |
29 |
Correct |
1 ms |
2396 KB |
Output is correct |
30 |
Correct |
1 ms |
2640 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
2384 KB |
Output is correct |
2 |
Correct |
1 ms |
2384 KB |
Output is correct |
3 |
Correct |
1 ms |
2552 KB |
Output is correct |
4 |
Correct |
1 ms |
2384 KB |
Output is correct |
5 |
Correct |
1 ms |
2384 KB |
Output is correct |
6 |
Correct |
1 ms |
2384 KB |
Output is correct |
7 |
Correct |
1 ms |
2640 KB |
Output is correct |
8 |
Correct |
1 ms |
2384 KB |
Output is correct |
9 |
Correct |
1 ms |
2384 KB |
Output is correct |
10 |
Correct |
1 ms |
2384 KB |
Output is correct |
11 |
Correct |
1 ms |
2384 KB |
Output is correct |
12 |
Correct |
1 ms |
2384 KB |
Output is correct |
13 |
Correct |
1 ms |
2384 KB |
Output is correct |
14 |
Correct |
1 ms |
2384 KB |
Output is correct |
15 |
Correct |
1 ms |
2384 KB |
Output is correct |
16 |
Correct |
1 ms |
2384 KB |
Output is correct |
17 |
Correct |
5 ms |
5588 KB |
Output is correct |
18 |
Correct |
5 ms |
5740 KB |
Output is correct |
19 |
Correct |
5 ms |
5588 KB |
Output is correct |
20 |
Correct |
5 ms |
5588 KB |
Output is correct |
21 |
Correct |
5 ms |
5736 KB |
Output is correct |
22 |
Correct |
6 ms |
5588 KB |
Output is correct |
23 |
Correct |
1 ms |
2384 KB |
Output is correct |
24 |
Correct |
1 ms |
2384 KB |
Output is correct |
25 |
Correct |
1 ms |
2384 KB |
Output is correct |
26 |
Correct |
1 ms |
2384 KB |
Output is correct |
27 |
Correct |
1 ms |
2384 KB |
Output is correct |
28 |
Correct |
1 ms |
2384 KB |
Output is correct |
29 |
Correct |
6 ms |
5588 KB |
Output is correct |
30 |
Correct |
7 ms |
5588 KB |
Output is correct |
31 |
Correct |
6 ms |
5616 KB |
Output is correct |
32 |
Correct |
6 ms |
5588 KB |
Output is correct |
33 |
Correct |
7 ms |
5588 KB |
Output is correct |
34 |
Correct |
5 ms |
5588 KB |
Output is correct |
35 |
Correct |
5 ms |
5668 KB |
Output is correct |
36 |
Correct |
5 ms |
5756 KB |
Output is correct |
37 |
Correct |
5 ms |
5588 KB |
Output is correct |
38 |
Correct |
5 ms |
5588 KB |
Output is correct |
39 |
Correct |
5 ms |
5588 KB |
Output is correct |
40 |
Correct |
5 ms |
5588 KB |
Output is correct |
41 |
Correct |
1 ms |
2384 KB |
Output is correct |
42 |
Correct |
6 ms |
5844 KB |
Output is correct |
43 |
Correct |
6 ms |
5840 KB |
Output is correct |
44 |
Correct |
6 ms |
5844 KB |
Output is correct |
45 |
Correct |
6 ms |
5844 KB |
Output is correct |
46 |
Correct |
8 ms |
5844 KB |
Output is correct |
47 |
Correct |
6 ms |
5844 KB |
Output is correct |
48 |
Correct |
1 ms |
2384 KB |
Output is correct |
49 |
Correct |
1 ms |
2384 KB |
Output is correct |
50 |
Correct |
1 ms |
2524 KB |
Output is correct |
51 |
Correct |
1 ms |
2384 KB |
Output is correct |
52 |
Correct |
1 ms |
2384 KB |
Output is correct |
53 |
Correct |
1 ms |
2640 KB |
Output is correct |
54 |
Correct |
7 ms |
5844 KB |
Output is correct |
55 |
Correct |
6 ms |
5844 KB |
Output is correct |
56 |
Correct |
8 ms |
5844 KB |
Output is correct |
57 |
Correct |
8 ms |
5760 KB |
Output is correct |
58 |
Correct |
8 ms |
5844 KB |
Output is correct |
59 |
Correct |
7 ms |
5844 KB |
Output is correct |
60 |
Correct |
6 ms |
5844 KB |
Output is correct |
61 |
Correct |
5 ms |
5844 KB |
Output is correct |
62 |
Correct |
6 ms |
5844 KB |
Output is correct |
63 |
Correct |
6 ms |
5724 KB |
Output is correct |
64 |
Correct |
7 ms |
5844 KB |
Output is correct |
65 |
Correct |
6 ms |
5808 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
2384 KB |
Output is correct |
2 |
Correct |
1 ms |
2384 KB |
Output is correct |
3 |
Correct |
1 ms |
2552 KB |
Output is correct |
4 |
Correct |
1 ms |
2384 KB |
Output is correct |
5 |
Correct |
1 ms |
2384 KB |
Output is correct |
6 |
Correct |
1 ms |
2384 KB |
Output is correct |
7 |
Correct |
1 ms |
2640 KB |
Output is correct |
8 |
Correct |
1 ms |
2384 KB |
Output is correct |
9 |
Correct |
1 ms |
2384 KB |
Output is correct |
10 |
Correct |
1 ms |
2384 KB |
Output is correct |
11 |
Correct |
1 ms |
2384 KB |
Output is correct |
12 |
Correct |
1 ms |
2384 KB |
Output is correct |
13 |
Correct |
1 ms |
2384 KB |
Output is correct |
14 |
Correct |
1 ms |
2384 KB |
Output is correct |
15 |
Correct |
1 ms |
2384 KB |
Output is correct |
16 |
Correct |
133 ms |
54072 KB |
Output is correct |
17 |
Correct |
141 ms |
54116 KB |
Output is correct |
18 |
Correct |
134 ms |
53940 KB |
Output is correct |
19 |
Correct |
128 ms |
53944 KB |
Output is correct |
20 |
Correct |
132 ms |
54456 KB |
Output is correct |
21 |
Correct |
124 ms |
53444 KB |
Output is correct |
22 |
Correct |
120 ms |
53308 KB |
Output is correct |
23 |
Correct |
118 ms |
53940 KB |
Output is correct |
24 |
Correct |
134 ms |
54708 KB |
Output is correct |
25 |
Correct |
119 ms |
53432 KB |
Output is correct |
26 |
Correct |
126 ms |
53308 KB |
Output is correct |
27 |
Correct |
140 ms |
54004 KB |
Output is correct |
28 |
Correct |
121 ms |
53436 KB |
Output is correct |
29 |
Correct |
124 ms |
54072 KB |
Output is correct |
30 |
Correct |
122 ms |
53944 KB |
Output is correct |
31 |
Correct |
131 ms |
54588 KB |
Output is correct |
32 |
Correct |
124 ms |
54704 KB |
Output is correct |
33 |
Correct |
117 ms |
53944 KB |
Output is correct |
34 |
Correct |
113 ms |
54108 KB |
Output is correct |
35 |
Correct |
119 ms |
53944 KB |
Output is correct |
36 |
Correct |
1 ms |
2384 KB |
Output is correct |
37 |
Correct |
5 ms |
5588 KB |
Output is correct |
38 |
Correct |
5 ms |
5740 KB |
Output is correct |
39 |
Correct |
5 ms |
5588 KB |
Output is correct |
40 |
Correct |
5 ms |
5588 KB |
Output is correct |
41 |
Correct |
5 ms |
5736 KB |
Output is correct |
42 |
Correct |
6 ms |
5588 KB |
Output is correct |
43 |
Correct |
1 ms |
2384 KB |
Output is correct |
44 |
Correct |
1 ms |
2384 KB |
Output is correct |
45 |
Correct |
1 ms |
2384 KB |
Output is correct |
46 |
Correct |
1 ms |
2384 KB |
Output is correct |
47 |
Correct |
1 ms |
2384 KB |
Output is correct |
48 |
Correct |
1 ms |
2384 KB |
Output is correct |
49 |
Correct |
6 ms |
5588 KB |
Output is correct |
50 |
Correct |
7 ms |
5588 KB |
Output is correct |
51 |
Correct |
6 ms |
5616 KB |
Output is correct |
52 |
Correct |
6 ms |
5588 KB |
Output is correct |
53 |
Correct |
7 ms |
5588 KB |
Output is correct |
54 |
Correct |
5 ms |
5588 KB |
Output is correct |
55 |
Correct |
5 ms |
5668 KB |
Output is correct |
56 |
Correct |
5 ms |
5756 KB |
Output is correct |
57 |
Correct |
5 ms |
5588 KB |
Output is correct |
58 |
Correct |
5 ms |
5588 KB |
Output is correct |
59 |
Correct |
5 ms |
5588 KB |
Output is correct |
60 |
Correct |
5 ms |
5588 KB |
Output is correct |
61 |
Correct |
1 ms |
2384 KB |
Output is correct |
62 |
Correct |
105 ms |
49816 KB |
Output is correct |
63 |
Correct |
114 ms |
49592 KB |
Output is correct |
64 |
Correct |
113 ms |
49336 KB |
Output is correct |
65 |
Correct |
116 ms |
49472 KB |
Output is correct |
66 |
Correct |
120 ms |
49856 KB |
Output is correct |
67 |
Correct |
122 ms |
49592 KB |
Output is correct |
68 |
Correct |
2 ms |
2384 KB |
Output is correct |
69 |
Correct |
1 ms |
2384 KB |
Output is correct |
70 |
Correct |
1 ms |
2384 KB |
Output is correct |
71 |
Correct |
1 ms |
2384 KB |
Output is correct |
72 |
Correct |
1 ms |
2384 KB |
Output is correct |
73 |
Correct |
2 ms |
2384 KB |
Output is correct |
74 |
Correct |
187 ms |
49844 KB |
Output is correct |
75 |
Correct |
185 ms |
49988 KB |
Output is correct |
76 |
Correct |
187 ms |
49848 KB |
Output is correct |
77 |
Correct |
192 ms |
49848 KB |
Output is correct |
78 |
Correct |
181 ms |
49848 KB |
Output is correct |
79 |
Correct |
146 ms |
49348 KB |
Output is correct |
80 |
Correct |
134 ms |
49076 KB |
Output is correct |
81 |
Correct |
120 ms |
49856 KB |
Output is correct |
82 |
Correct |
112 ms |
51392 KB |
Output is correct |
83 |
Correct |
111 ms |
51388 KB |
Output is correct |
84 |
Correct |
119 ms |
49332 KB |
Output is correct |
85 |
Correct |
112 ms |
49600 KB |
Output is correct |
86 |
Correct |
121 ms |
49588 KB |
Output is correct |
87 |
Correct |
118 ms |
49372 KB |
Output is correct |
88 |
Correct |
1 ms |
2384 KB |
Output is correct |
89 |
Correct |
1 ms |
2384 KB |
Output is correct |
90 |
Correct |
1 ms |
2384 KB |
Output is correct |
91 |
Correct |
1 ms |
2528 KB |
Output is correct |
92 |
Correct |
1 ms |
2384 KB |
Output is correct |
93 |
Correct |
1 ms |
2384 KB |
Output is correct |
94 |
Correct |
1 ms |
2384 KB |
Output is correct |
95 |
Correct |
1 ms |
2384 KB |
Output is correct |
96 |
Correct |
1 ms |
2384 KB |
Output is correct |
97 |
Correct |
1 ms |
2384 KB |
Output is correct |
98 |
Correct |
1 ms |
2384 KB |
Output is correct |
99 |
Correct |
1 ms |
2384 KB |
Output is correct |
100 |
Correct |
1 ms |
2384 KB |
Output is correct |
101 |
Correct |
1 ms |
2396 KB |
Output is correct |
102 |
Correct |
1 ms |
2640 KB |
Output is correct |
103 |
Correct |
1 ms |
2384 KB |
Output is correct |
104 |
Correct |
6 ms |
5844 KB |
Output is correct |
105 |
Correct |
6 ms |
5840 KB |
Output is correct |
106 |
Correct |
6 ms |
5844 KB |
Output is correct |
107 |
Correct |
6 ms |
5844 KB |
Output is correct |
108 |
Correct |
8 ms |
5844 KB |
Output is correct |
109 |
Correct |
6 ms |
5844 KB |
Output is correct |
110 |
Correct |
1 ms |
2384 KB |
Output is correct |
111 |
Correct |
1 ms |
2384 KB |
Output is correct |
112 |
Correct |
1 ms |
2524 KB |
Output is correct |
113 |
Correct |
1 ms |
2384 KB |
Output is correct |
114 |
Correct |
1 ms |
2384 KB |
Output is correct |
115 |
Correct |
1 ms |
2640 KB |
Output is correct |
116 |
Correct |
7 ms |
5844 KB |
Output is correct |
117 |
Correct |
6 ms |
5844 KB |
Output is correct |
118 |
Correct |
8 ms |
5844 KB |
Output is correct |
119 |
Correct |
8 ms |
5760 KB |
Output is correct |
120 |
Correct |
8 ms |
5844 KB |
Output is correct |
121 |
Correct |
7 ms |
5844 KB |
Output is correct |
122 |
Correct |
6 ms |
5844 KB |
Output is correct |
123 |
Correct |
5 ms |
5844 KB |
Output is correct |
124 |
Correct |
6 ms |
5844 KB |
Output is correct |
125 |
Correct |
6 ms |
5724 KB |
Output is correct |
126 |
Correct |
7 ms |
5844 KB |
Output is correct |
127 |
Correct |
6 ms |
5808 KB |
Output is correct |
128 |
Correct |
1 ms |
2384 KB |
Output is correct |
129 |
Correct |
128 ms |
53160 KB |
Output is correct |
130 |
Correct |
138 ms |
53684 KB |
Output is correct |
131 |
Correct |
135 ms |
54200 KB |
Output is correct |
132 |
Correct |
133 ms |
53704 KB |
Output is correct |
133 |
Correct |
138 ms |
53944 KB |
Output is correct |
134 |
Correct |
138 ms |
54200 KB |
Output is correct |
135 |
Correct |
1 ms |
2384 KB |
Output is correct |
136 |
Correct |
1 ms |
2384 KB |
Output is correct |
137 |
Correct |
1 ms |
2384 KB |
Output is correct |
138 |
Correct |
1 ms |
2384 KB |
Output is correct |
139 |
Correct |
1 ms |
2384 KB |
Output is correct |
140 |
Correct |
1 ms |
2384 KB |
Output is correct |
141 |
Correct |
198 ms |
54200 KB |
Output is correct |
142 |
Correct |
194 ms |
53944 KB |
Output is correct |
143 |
Correct |
181 ms |
54192 KB |
Output is correct |
144 |
Correct |
189 ms |
54200 KB |
Output is correct |
145 |
Correct |
194 ms |
54452 KB |
Output is correct |
146 |
Correct |
173 ms |
52660 KB |
Output is correct |
147 |
Correct |
162 ms |
53436 KB |
Output is correct |
148 |
Correct |
181 ms |
52792 KB |
Output is correct |
149 |
Correct |
141 ms |
53684 KB |
Output is correct |
150 |
Correct |
124 ms |
53944 KB |
Output is correct |
151 |
Correct |
128 ms |
53940 KB |
Output is correct |
152 |
Correct |
147 ms |
53684 KB |
Output is correct |
153 |
Correct |
138 ms |
53692 KB |
Output is correct |
154 |
Correct |
130 ms |
53680 KB |
Output is correct |
155 |
Correct |
145 ms |
53684 KB |
Output is correct |