#include<bits/stdc++.h>
using namespace std;
template <typename T> inline void read(T &x)
{
x=0;T f=1;char c=getchar();
for(;!isdigit(c);c=getchar()) if(c=='-')f=-1;
for(;isdigit(c);c=getchar()) x=(x<<1)+(x<<3)+(c^48);
x*=f;
}
template <typename T,typename ...Args>void read(T &x,Args&...args){read(x),read(args...);}
template <typename T> void print(T x)
{
if(x<0) x=-x,putchar('-');
if(x>9) print(x/10);
putchar(x%10+48);
}
template <typename T> void print(T x,char c){print(x); putchar(c);}
template<typename T>inline void output(T x){print(x,' ');}
template<typename T,typename ...Arg>inline void output(T x,Arg ...arg){output(x);output(arg...);}
const int N=20,M=1<<20,mod=998244353;
struct Mint
{
int x;
Mint(int y=0){x=(y%mod+mod)%mod;}
Mint &operator = (int y){return x=(y%mod+mod)%mod,*this;}
Mint &operator = (long long y){return x=(y%mod+mod)%mod,*this;}
Mint &operator +=(Mint y){return x=x+y.x>=mod?x+y.x-mod:x+y.x,*this;}
Mint &operator -=(Mint y){return x=x-y.x<0?x-y.x+mod:x-y.x,*this;}
Mint &operator *=(Mint y){return x=1ll*x*y.x%mod,*this;}
Mint &operator ^=(int y)
{
Mint a=*this,c=1;
for(;y;y>>=1,a*=a)
if(y&1) c*=a;
return x=c.x,*this;
}
Mint &operator /=(Mint y){return *this*=y^=mod-2;}
Mint &operator +=(int y){return x=x+y>=mod?x+y-mod:x+y,*this;}
Mint &operator -=(int y){return x=x-y<0?x-y+mod:x-y,*this;}
Mint &operator *=(int y){return x=1ll*x*y%mod,*this;}
Mint &operator /=(int y){return *this *= ((Mint(y))^=mod-2);}
Mint &operator +=(long long y){return x=x+y>=mod?x+y-mod:x+y,*this;}
Mint &operator -=(long long y){return x=x-y<0?x-y+mod:x-y,*this;}
Mint &operator *=(long long y){return x=1ll*x*y%mod,*this;}
Mint &operator /=(long long y){return *this *= ((Mint(y))^=mod-2);}
template<class T>friend Mint operator +(Mint a,T b){return a+=b;}
template<class T>friend Mint operator -(Mint a,T b){return a-=b;}
template<class T>friend Mint operator *(Mint a,T b){return a*=b;}
template<class T>friend Mint operator /(Mint a,T b){return a/=b;}
friend Mint operator ^(Mint a,int b){return a^=b;}
friend bool operator ==(Mint a,int b){return a.x==b;}
friend bool operator !=(Mint a,int b){return a.x!=b;}
friend Mint operator ^(Mint a,long long b){return a^=b;}
friend bool operator ==(Mint a,long long b){return a.x==b;}
friend bool operator !=(Mint a,long long b){return a.x!=b;}
bool operator ! (){return !x;}
Mint operator - (){return x?mod-x:0;}
bool operator <(const Mint&b)const{return x<b.x;}
};
int n,m,k,x[N*N],y[N*N],cnt[M],can[M];
Mint dp[M];
int main()
{
read(n,m); k=1<<n;
for(int i=1;i<=m;i++) read(x[i],y[i]);
for(int i=0;i<k;i++)
{
int sum=0;
for(int j=i;j;j&=(j-1)) sum++;
if(sum&1) cnt[i]=1;
else cnt[i]=mod-1;
for(int j=1;j<=m;j++)
if((i&(1<<(x[j]-1)))&&(i&(1<<(y[j]-1))))
{can[i]=1;break;}
}
dp[0]=1;
for(int i=1;i<k;i++)
for(int j=i;j;j=i&(j-1))
if(!can[j]) dp[i]+=dp[i^j]*cnt[j];
print((dp[k-1]*m/2).x,'\n');
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
2 ms |
4308 KB |
Output is correct |
2 |
Correct |
2 ms |
4308 KB |
Output is correct |
3 |
Correct |
2 ms |
4308 KB |
Output is correct |
4 |
Correct |
2 ms |
4308 KB |
Output is correct |
5 |
Correct |
2 ms |
4308 KB |
Output is correct |
6 |
Correct |
2 ms |
4308 KB |
Output is correct |
7 |
Correct |
2 ms |
4308 KB |
Output is correct |
8 |
Correct |
2 ms |
4308 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
2 ms |
4308 KB |
Output is correct |
2 |
Correct |
2 ms |
4308 KB |
Output is correct |
3 |
Correct |
2 ms |
4308 KB |
Output is correct |
4 |
Correct |
2 ms |
4308 KB |
Output is correct |
5 |
Correct |
2 ms |
4308 KB |
Output is correct |
6 |
Correct |
2 ms |
4308 KB |
Output is correct |
7 |
Correct |
2 ms |
4308 KB |
Output is correct |
8 |
Correct |
2 ms |
4308 KB |
Output is correct |
9 |
Correct |
2 ms |
4308 KB |
Output is correct |
10 |
Correct |
2 ms |
4308 KB |
Output is correct |
11 |
Correct |
2 ms |
4308 KB |
Output is correct |
12 |
Correct |
2 ms |
4308 KB |
Output is correct |
13 |
Correct |
2 ms |
4308 KB |
Output is correct |
14 |
Correct |
2 ms |
4308 KB |
Output is correct |
15 |
Correct |
2 ms |
4308 KB |
Output is correct |
16 |
Correct |
2 ms |
4308 KB |
Output is correct |
17 |
Correct |
2 ms |
4308 KB |
Output is correct |
18 |
Correct |
2 ms |
4308 KB |
Output is correct |
19 |
Correct |
2 ms |
4308 KB |
Output is correct |
20 |
Correct |
2 ms |
4308 KB |
Output is correct |
21 |
Correct |
2 ms |
4308 KB |
Output is correct |
22 |
Correct |
2 ms |
4308 KB |
Output is correct |
23 |
Correct |
2 ms |
4308 KB |
Output is correct |
24 |
Correct |
2 ms |
4308 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
2 ms |
4308 KB |
Output is correct |
2 |
Correct |
2 ms |
4308 KB |
Output is correct |
3 |
Correct |
2 ms |
4308 KB |
Output is correct |
4 |
Correct |
2 ms |
4308 KB |
Output is correct |
5 |
Correct |
2 ms |
4308 KB |
Output is correct |
6 |
Correct |
2 ms |
4308 KB |
Output is correct |
7 |
Correct |
2 ms |
4308 KB |
Output is correct |
8 |
Correct |
2 ms |
4308 KB |
Output is correct |
9 |
Correct |
2 ms |
4308 KB |
Output is correct |
10 |
Correct |
2 ms |
4308 KB |
Output is correct |
11 |
Correct |
2 ms |
4308 KB |
Output is correct |
12 |
Correct |
2 ms |
4308 KB |
Output is correct |
13 |
Correct |
2 ms |
4308 KB |
Output is correct |
14 |
Correct |
2 ms |
4308 KB |
Output is correct |
15 |
Correct |
2 ms |
4308 KB |
Output is correct |
16 |
Correct |
2 ms |
4308 KB |
Output is correct |
17 |
Correct |
2 ms |
4308 KB |
Output is correct |
18 |
Correct |
2 ms |
4308 KB |
Output is correct |
19 |
Correct |
2 ms |
4308 KB |
Output is correct |
20 |
Correct |
2 ms |
4308 KB |
Output is correct |
21 |
Correct |
2 ms |
4308 KB |
Output is correct |
22 |
Correct |
2 ms |
4308 KB |
Output is correct |
23 |
Correct |
2 ms |
4308 KB |
Output is correct |
24 |
Correct |
2 ms |
4308 KB |
Output is correct |
25 |
Correct |
2 ms |
4308 KB |
Output is correct |
26 |
Correct |
2 ms |
4308 KB |
Output is correct |
27 |
Correct |
2 ms |
4308 KB |
Output is correct |
28 |
Correct |
2 ms |
4308 KB |
Output is correct |
29 |
Correct |
2 ms |
4308 KB |
Output is correct |
30 |
Correct |
2 ms |
4308 KB |
Output is correct |
31 |
Correct |
2 ms |
4308 KB |
Output is correct |
32 |
Correct |
2 ms |
4308 KB |
Output is correct |
33 |
Correct |
3 ms |
4308 KB |
Output is correct |
34 |
Correct |
2 ms |
4352 KB |
Output is correct |
35 |
Correct |
2 ms |
4308 KB |
Output is correct |
36 |
Correct |
2 ms |
4308 KB |
Output is correct |
37 |
Correct |
2 ms |
4308 KB |
Output is correct |
38 |
Correct |
2 ms |
4308 KB |
Output is correct |
39 |
Correct |
3 ms |
4308 KB |
Output is correct |
40 |
Correct |
2 ms |
4308 KB |
Output is correct |
41 |
Correct |
2 ms |
4308 KB |
Output is correct |
42 |
Correct |
2 ms |
4308 KB |
Output is correct |
43 |
Correct |
2 ms |
4308 KB |
Output is correct |
44 |
Correct |
2 ms |
4308 KB |
Output is correct |
45 |
Correct |
2 ms |
4308 KB |
Output is correct |
46 |
Correct |
2 ms |
4308 KB |
Output is correct |
47 |
Correct |
2 ms |
4308 KB |
Output is correct |
48 |
Correct |
2 ms |
4308 KB |
Output is correct |
49 |
Correct |
2 ms |
4308 KB |
Output is correct |
50 |
Correct |
2 ms |
4308 KB |
Output is correct |
51 |
Correct |
2 ms |
4308 KB |
Output is correct |
52 |
Correct |
2 ms |
4308 KB |
Output is correct |
53 |
Correct |
2 ms |
4308 KB |
Output is correct |
54 |
Correct |
3 ms |
4308 KB |
Output is correct |
55 |
Correct |
2 ms |
4308 KB |
Output is correct |
56 |
Correct |
2 ms |
4452 KB |
Output is correct |
57 |
Correct |
3 ms |
4308 KB |
Output is correct |
58 |
Correct |
2 ms |
4308 KB |
Output is correct |
59 |
Correct |
2 ms |
4308 KB |
Output is correct |
60 |
Correct |
3 ms |
4308 KB |
Output is correct |
61 |
Correct |
2 ms |
4308 KB |
Output is correct |
62 |
Correct |
2 ms |
4308 KB |
Output is correct |
63 |
Correct |
2 ms |
4308 KB |
Output is correct |
64 |
Correct |
2 ms |
4308 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
2 ms |
4308 KB |
Output is correct |
2 |
Correct |
2 ms |
4308 KB |
Output is correct |
3 |
Correct |
2 ms |
4308 KB |
Output is correct |
4 |
Correct |
2 ms |
4308 KB |
Output is correct |
5 |
Correct |
2 ms |
4308 KB |
Output is correct |
6 |
Correct |
2 ms |
4308 KB |
Output is correct |
7 |
Correct |
2 ms |
4308 KB |
Output is correct |
8 |
Correct |
2 ms |
4308 KB |
Output is correct |
9 |
Correct |
2 ms |
4308 KB |
Output is correct |
10 |
Correct |
2 ms |
4308 KB |
Output is correct |
11 |
Correct |
2 ms |
4308 KB |
Output is correct |
12 |
Correct |
2 ms |
4308 KB |
Output is correct |
13 |
Correct |
2 ms |
4308 KB |
Output is correct |
14 |
Correct |
2 ms |
4308 KB |
Output is correct |
15 |
Correct |
2 ms |
4308 KB |
Output is correct |
16 |
Correct |
2 ms |
4308 KB |
Output is correct |
17 |
Correct |
2 ms |
4308 KB |
Output is correct |
18 |
Correct |
2 ms |
4308 KB |
Output is correct |
19 |
Correct |
2 ms |
4308 KB |
Output is correct |
20 |
Correct |
2 ms |
4308 KB |
Output is correct |
21 |
Correct |
2 ms |
4308 KB |
Output is correct |
22 |
Correct |
2 ms |
4308 KB |
Output is correct |
23 |
Correct |
2 ms |
4308 KB |
Output is correct |
24 |
Correct |
2 ms |
4308 KB |
Output is correct |
25 |
Correct |
2 ms |
4308 KB |
Output is correct |
26 |
Correct |
2 ms |
4308 KB |
Output is correct |
27 |
Correct |
2 ms |
4308 KB |
Output is correct |
28 |
Correct |
2 ms |
4308 KB |
Output is correct |
29 |
Correct |
2 ms |
4308 KB |
Output is correct |
30 |
Correct |
2 ms |
4308 KB |
Output is correct |
31 |
Correct |
2 ms |
4308 KB |
Output is correct |
32 |
Correct |
2 ms |
4308 KB |
Output is correct |
33 |
Correct |
3 ms |
4308 KB |
Output is correct |
34 |
Correct |
2 ms |
4352 KB |
Output is correct |
35 |
Correct |
2 ms |
4308 KB |
Output is correct |
36 |
Correct |
2 ms |
4308 KB |
Output is correct |
37 |
Correct |
2 ms |
4308 KB |
Output is correct |
38 |
Correct |
2 ms |
4308 KB |
Output is correct |
39 |
Correct |
3 ms |
4308 KB |
Output is correct |
40 |
Correct |
2 ms |
4308 KB |
Output is correct |
41 |
Correct |
2 ms |
4308 KB |
Output is correct |
42 |
Correct |
2 ms |
4308 KB |
Output is correct |
43 |
Correct |
2 ms |
4308 KB |
Output is correct |
44 |
Correct |
2 ms |
4308 KB |
Output is correct |
45 |
Correct |
2 ms |
4308 KB |
Output is correct |
46 |
Correct |
2 ms |
4308 KB |
Output is correct |
47 |
Correct |
2 ms |
4308 KB |
Output is correct |
48 |
Correct |
2 ms |
4308 KB |
Output is correct |
49 |
Correct |
2 ms |
4308 KB |
Output is correct |
50 |
Correct |
2 ms |
4308 KB |
Output is correct |
51 |
Correct |
2 ms |
4308 KB |
Output is correct |
52 |
Correct |
2 ms |
4308 KB |
Output is correct |
53 |
Correct |
2 ms |
4308 KB |
Output is correct |
54 |
Correct |
3 ms |
4308 KB |
Output is correct |
55 |
Correct |
2 ms |
4308 KB |
Output is correct |
56 |
Correct |
2 ms |
4452 KB |
Output is correct |
57 |
Correct |
3 ms |
4308 KB |
Output is correct |
58 |
Correct |
2 ms |
4308 KB |
Output is correct |
59 |
Correct |
2 ms |
4308 KB |
Output is correct |
60 |
Correct |
3 ms |
4308 KB |
Output is correct |
61 |
Correct |
2 ms |
4308 KB |
Output is correct |
62 |
Correct |
2 ms |
4308 KB |
Output is correct |
63 |
Correct |
2 ms |
4308 KB |
Output is correct |
64 |
Correct |
2 ms |
4308 KB |
Output is correct |
65 |
Correct |
11 ms |
4548 KB |
Output is correct |
66 |
Correct |
12 ms |
4436 KB |
Output is correct |
67 |
Correct |
10 ms |
4436 KB |
Output is correct |
68 |
Correct |
10 ms |
4436 KB |
Output is correct |
69 |
Correct |
15 ms |
4548 KB |
Output is correct |
70 |
Correct |
12 ms |
4436 KB |
Output is correct |
71 |
Correct |
16 ms |
4444 KB |
Output is correct |
72 |
Correct |
14 ms |
4440 KB |
Output is correct |
73 |
Correct |
11 ms |
4552 KB |
Output is correct |
74 |
Correct |
12 ms |
4444 KB |
Output is correct |
75 |
Correct |
11 ms |
4448 KB |
Output is correct |
76 |
Correct |
11 ms |
4544 KB |
Output is correct |
77 |
Correct |
30 ms |
4568 KB |
Output is correct |
78 |
Correct |
27 ms |
4564 KB |
Output is correct |
79 |
Correct |
26 ms |
4680 KB |
Output is correct |
80 |
Correct |
26 ms |
4664 KB |
Output is correct |
81 |
Correct |
25 ms |
4564 KB |
Output is correct |
82 |
Correct |
22 ms |
4564 KB |
Output is correct |
83 |
Correct |
22 ms |
4680 KB |
Output is correct |
84 |
Correct |
26 ms |
4676 KB |
Output is correct |
85 |
Correct |
41 ms |
4656 KB |
Output is correct |
86 |
Correct |
32 ms |
4564 KB |
Output is correct |
87 |
Correct |
34 ms |
4672 KB |
Output is correct |
88 |
Correct |
36 ms |
4624 KB |
Output is correct |
89 |
Correct |
28 ms |
4652 KB |
Output is correct |
90 |
Correct |
28 ms |
4564 KB |
Output is correct |
91 |
Correct |
28 ms |
4676 KB |
Output is correct |
92 |
Correct |
33 ms |
4564 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
2 ms |
4308 KB |
Output is correct |
2 |
Correct |
2 ms |
4308 KB |
Output is correct |
3 |
Correct |
2 ms |
4308 KB |
Output is correct |
4 |
Correct |
2 ms |
4308 KB |
Output is correct |
5 |
Correct |
2 ms |
4308 KB |
Output is correct |
6 |
Correct |
2 ms |
4308 KB |
Output is correct |
7 |
Correct |
2 ms |
4308 KB |
Output is correct |
8 |
Correct |
2 ms |
4308 KB |
Output is correct |
9 |
Correct |
2 ms |
4308 KB |
Output is correct |
10 |
Correct |
2 ms |
4308 KB |
Output is correct |
11 |
Correct |
2 ms |
4308 KB |
Output is correct |
12 |
Correct |
2 ms |
4308 KB |
Output is correct |
13 |
Correct |
2 ms |
4308 KB |
Output is correct |
14 |
Correct |
2 ms |
4308 KB |
Output is correct |
15 |
Correct |
2 ms |
4308 KB |
Output is correct |
16 |
Correct |
2 ms |
4308 KB |
Output is correct |
17 |
Correct |
2 ms |
4308 KB |
Output is correct |
18 |
Correct |
2 ms |
4308 KB |
Output is correct |
19 |
Correct |
2 ms |
4308 KB |
Output is correct |
20 |
Correct |
2 ms |
4308 KB |
Output is correct |
21 |
Correct |
2 ms |
4308 KB |
Output is correct |
22 |
Correct |
2 ms |
4308 KB |
Output is correct |
23 |
Correct |
2 ms |
4308 KB |
Output is correct |
24 |
Correct |
2 ms |
4308 KB |
Output is correct |
25 |
Correct |
2 ms |
4308 KB |
Output is correct |
26 |
Correct |
2 ms |
4308 KB |
Output is correct |
27 |
Correct |
2 ms |
4308 KB |
Output is correct |
28 |
Correct |
2 ms |
4308 KB |
Output is correct |
29 |
Correct |
2 ms |
4308 KB |
Output is correct |
30 |
Correct |
2 ms |
4308 KB |
Output is correct |
31 |
Correct |
2 ms |
4308 KB |
Output is correct |
32 |
Correct |
2 ms |
4308 KB |
Output is correct |
33 |
Correct |
3 ms |
4308 KB |
Output is correct |
34 |
Correct |
2 ms |
4352 KB |
Output is correct |
35 |
Correct |
2 ms |
4308 KB |
Output is correct |
36 |
Correct |
2 ms |
4308 KB |
Output is correct |
37 |
Correct |
2 ms |
4308 KB |
Output is correct |
38 |
Correct |
2 ms |
4308 KB |
Output is correct |
39 |
Correct |
3 ms |
4308 KB |
Output is correct |
40 |
Correct |
2 ms |
4308 KB |
Output is correct |
41 |
Correct |
2 ms |
4308 KB |
Output is correct |
42 |
Correct |
2 ms |
4308 KB |
Output is correct |
43 |
Correct |
2 ms |
4308 KB |
Output is correct |
44 |
Correct |
2 ms |
4308 KB |
Output is correct |
45 |
Correct |
2 ms |
4308 KB |
Output is correct |
46 |
Correct |
2 ms |
4308 KB |
Output is correct |
47 |
Correct |
2 ms |
4308 KB |
Output is correct |
48 |
Correct |
2 ms |
4308 KB |
Output is correct |
49 |
Correct |
2 ms |
4308 KB |
Output is correct |
50 |
Correct |
2 ms |
4308 KB |
Output is correct |
51 |
Correct |
2 ms |
4308 KB |
Output is correct |
52 |
Correct |
2 ms |
4308 KB |
Output is correct |
53 |
Correct |
2 ms |
4308 KB |
Output is correct |
54 |
Correct |
3 ms |
4308 KB |
Output is correct |
55 |
Correct |
2 ms |
4308 KB |
Output is correct |
56 |
Correct |
2 ms |
4452 KB |
Output is correct |
57 |
Correct |
3 ms |
4308 KB |
Output is correct |
58 |
Correct |
2 ms |
4308 KB |
Output is correct |
59 |
Correct |
2 ms |
4308 KB |
Output is correct |
60 |
Correct |
3 ms |
4308 KB |
Output is correct |
61 |
Correct |
2 ms |
4308 KB |
Output is correct |
62 |
Correct |
2 ms |
4308 KB |
Output is correct |
63 |
Correct |
2 ms |
4308 KB |
Output is correct |
64 |
Correct |
2 ms |
4308 KB |
Output is correct |
65 |
Correct |
11 ms |
4548 KB |
Output is correct |
66 |
Correct |
12 ms |
4436 KB |
Output is correct |
67 |
Correct |
10 ms |
4436 KB |
Output is correct |
68 |
Correct |
10 ms |
4436 KB |
Output is correct |
69 |
Correct |
15 ms |
4548 KB |
Output is correct |
70 |
Correct |
12 ms |
4436 KB |
Output is correct |
71 |
Correct |
16 ms |
4444 KB |
Output is correct |
72 |
Correct |
14 ms |
4440 KB |
Output is correct |
73 |
Correct |
11 ms |
4552 KB |
Output is correct |
74 |
Correct |
12 ms |
4444 KB |
Output is correct |
75 |
Correct |
11 ms |
4448 KB |
Output is correct |
76 |
Correct |
11 ms |
4544 KB |
Output is correct |
77 |
Correct |
30 ms |
4568 KB |
Output is correct |
78 |
Correct |
27 ms |
4564 KB |
Output is correct |
79 |
Correct |
26 ms |
4680 KB |
Output is correct |
80 |
Correct |
26 ms |
4664 KB |
Output is correct |
81 |
Correct |
25 ms |
4564 KB |
Output is correct |
82 |
Correct |
22 ms |
4564 KB |
Output is correct |
83 |
Correct |
22 ms |
4680 KB |
Output is correct |
84 |
Correct |
26 ms |
4676 KB |
Output is correct |
85 |
Correct |
41 ms |
4656 KB |
Output is correct |
86 |
Correct |
32 ms |
4564 KB |
Output is correct |
87 |
Correct |
34 ms |
4672 KB |
Output is correct |
88 |
Correct |
36 ms |
4624 KB |
Output is correct |
89 |
Correct |
28 ms |
4652 KB |
Output is correct |
90 |
Correct |
28 ms |
4564 KB |
Output is correct |
91 |
Correct |
28 ms |
4676 KB |
Output is correct |
92 |
Correct |
33 ms |
4564 KB |
Output is correct |
93 |
Correct |
865 ms |
6456 KB |
Output is correct |
94 |
Correct |
887 ms |
6452 KB |
Output is correct |
95 |
Correct |
868 ms |
6452 KB |
Output is correct |
96 |
Correct |
713 ms |
6452 KB |
Output is correct |
97 |
Correct |
710 ms |
6476 KB |
Output is correct |
98 |
Correct |
807 ms |
6472 KB |
Output is correct |
99 |
Correct |
87 ms |
4920 KB |
Output is correct |
100 |
Correct |
79 ms |
4920 KB |
Output is correct |
101 |
Correct |
71 ms |
4920 KB |
Output is correct |
102 |
Correct |
69 ms |
4820 KB |
Output is correct |
103 |
Correct |
521 ms |
4912 KB |
Output is correct |
104 |
Correct |
315 ms |
5332 KB |
Output is correct |
105 |
Correct |
258 ms |
5432 KB |
Output is correct |
106 |
Correct |
226 ms |
5428 KB |
Output is correct |
107 |
Correct |
1635 ms |
5452 KB |
Output is correct |
108 |
Correct |
847 ms |
6452 KB |
Output is correct |
109 |
Correct |
599 ms |
6452 KB |
Output is correct |
110 |
Correct |
560 ms |
6460 KB |
Output is correct |
111 |
Correct |
62 ms |
4916 KB |
Output is correct |
112 |
Correct |
56 ms |
4924 KB |
Output is correct |
113 |
Correct |
56 ms |
4820 KB |
Output is correct |
114 |
Correct |
126 ms |
4920 KB |
Output is correct |
115 |
Correct |
103 ms |
4820 KB |
Output is correct |
116 |
Correct |
108 ms |
4916 KB |
Output is correct |
117 |
Correct |
112 ms |
4820 KB |
Output is correct |
118 |
Correct |
79 ms |
4820 KB |
Output is correct |
119 |
Correct |
76 ms |
4820 KB |
Output is correct |
120 |
Correct |
83 ms |
4820 KB |
Output is correct |
121 |
Correct |
86 ms |
4892 KB |
Output is correct |
122 |
Correct |
204 ms |
5332 KB |
Output is correct |
123 |
Correct |
180 ms |
5332 KB |
Output is correct |
124 |
Correct |
163 ms |
5432 KB |
Output is correct |
125 |
Correct |
160 ms |
5428 KB |
Output is correct |
126 |
Correct |
151 ms |
5432 KB |
Output is correct |
127 |
Correct |
149 ms |
5332 KB |
Output is correct |
128 |
Correct |
158 ms |
5432 KB |
Output is correct |
129 |
Correct |
131 ms |
5332 KB |
Output is correct |
130 |
Correct |
132 ms |
5436 KB |
Output is correct |
131 |
Correct |
363 ms |
5436 KB |
Output is correct |
132 |
Correct |
279 ms |
5428 KB |
Output is correct |
133 |
Correct |
282 ms |
5432 KB |
Output is correct |
134 |
Correct |
314 ms |
5324 KB |
Output is correct |
135 |
Correct |
230 ms |
5332 KB |
Output is correct |
136 |
Correct |
228 ms |
5432 KB |
Output is correct |
137 |
Correct |
230 ms |
5444 KB |
Output is correct |
138 |
Correct |
241 ms |
5372 KB |
Output is correct |
139 |
Correct |
198 ms |
5332 KB |
Output is correct |
140 |
Correct |
223 ms |
5452 KB |
Output is correct |
141 |
Correct |
198 ms |
5420 KB |
Output is correct |
142 |
Correct |
528 ms |
6460 KB |
Output is correct |
143 |
Correct |
457 ms |
6356 KB |
Output is correct |
144 |
Correct |
424 ms |
6456 KB |
Output is correct |
145 |
Correct |
414 ms |
6456 KB |
Output is correct |
146 |
Correct |
387 ms |
6460 KB |
Output is correct |
147 |
Correct |
382 ms |
6456 KB |
Output is correct |
148 |
Correct |
493 ms |
6452 KB |
Output is correct |
149 |
Correct |
477 ms |
6452 KB |
Output is correct |
150 |
Correct |
478 ms |
6456 KB |
Output is correct |
151 |
Correct |
585 ms |
6456 KB |
Output is correct |
152 |
Correct |
570 ms |
6464 KB |
Output is correct |
153 |
Correct |
728 ms |
6452 KB |
Output is correct |
154 |
Correct |
744 ms |
6460 KB |
Output is correct |
155 |
Correct |
737 ms |
6456 KB |
Output is correct |
156 |
Correct |
728 ms |
6332 KB |
Output is correct |
157 |
Correct |
699 ms |
6464 KB |
Output is correct |
158 |
Correct |
681 ms |
6452 KB |
Output is correct |
159 |
Correct |
623 ms |
6452 KB |
Output is correct |
160 |
Correct |
595 ms |
6456 KB |
Output is correct |
161 |
Correct |
609 ms |
6396 KB |
Output is correct |
162 |
Correct |
606 ms |
6456 KB |
Output is correct |
163 |
Correct |
554 ms |
6460 KB |
Output is correct |
164 |
Correct |
531 ms |
6456 KB |
Output is correct |
165 |
Correct |
509 ms |
6456 KB |
Output is correct |
166 |
Correct |
527 ms |
6456 KB |
Output is correct |
167 |
Correct |
519 ms |
6424 KB |
Output is correct |