QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#20289#2425. The Collection GameXiao_Luo_Xuan25 70ms3832kbC++201.2kb2022-02-15 12:14:322022-05-03 09:28:18

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-05-03 09:28:18]
  • 评测
  • 测评结果:25
  • 用时:70ms
  • 内存:3832kb
  • [2022-02-15 12:14:32]
  • 提交

answer

#include<bits/stdc++.h>
#include "swaps.h"
using namespace std;
int ans[550];
int n;

void cmp(int x,int y,int dir,int s){
	if(ans[x]>n && ans[y]>n) return ;
	else if(ans[x]>n){
		if(!dir) swap(ans[x],ans[y]);
		return ;
	}
	else if(ans[y]>n){
		if(dir) swap(ans[x],ans[y]);
		return ;
	}
	else{
		if(dir!=s) swap(ans[x],ans[y]);
		return ;
	}
}

int tmp[550],asw[550],id;

void merge(int l,int r,int dir){
	if(l==r) return ;
	int mid=(l+r)>>1;
	
	id=0;
	for(int i=l;i<=mid;i++){
		int x=i,y=i+(mid-l+1);
		if(ans[x]>n || ans[y]>n) continue;
		schedule(ans[x],ans[y]);
		tmp[id++]=i;
	}
	vector <int> v=visit();
	for(int i=0;i<id;i++){
		asw[tmp[i]]=v[i];
	}
	for(int i=l;i<=mid;i++){
		int x=i,y=i+(mid-l+1);
		cmp(x,y,dir,asw[i]);
	}
	merge(l,mid,dir);
	merge(mid+1,r,dir);
}


void CDQ(int l,int r,int dir){
	if(l==r) return ;
	int mid=(l+r)>>1;
	CDQ(l,mid,dir);
	CDQ(mid+1,r,dir^1);
	merge(l,r,dir);
}

void solve(int nn, int V) {
	n=nn;
	int lim=1;
	while(lim<n) lim<<=1;
	for(int i=1;i<=lim;i++) ans[i]=i;
	CDQ(1,lim,1);
	
//	for(int i=1;i<=lim;i++) cout<<ans[i]<<" ";
//	cout<<endl;
	vector <int> ANS;
	for(int i=1;i<=lim;i++) if(ans[i]<=n) ANS.push_back(ans[i]);
	answer(ANS);
}

详细

Subtask #1:

score: 0
Accepted

Test #1:

score: 0
Accepted
time: 0ms
memory: 3812kb

input:

4 50
1 0
1 0
2 1 0
1 0
1 1

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 2 3
946149565 1 4
547293220
946149565 2 4
547293220
946149565 3 1
547293220
345685428 4 2 3 1

result:

points 1.0 points  1.0 Correct

Subtask #2:

score: 5
Accepted

Test #2:

score: 5
Accepted
time: 7ms
memory: 3684kb

input:

10 5000
1 0
1 0
2 1 0
1 0
1 1
1 0
1 0
2 0 1
1 1
1 0
4 1 1 1 0
2 1 0
1 0
1 0
2 0 1
1 1
1 1
1 0
0
0
1 0
0
0
0
0
0
0
0
0
1 0
0
0
0
0
2 1 1
0
0
0
0
0
0
1 1
4 1 1 1 1
2 0 1
1 1
1 0
2 1 1
1 1
1 1

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 2 3
946149565 1 4
547293220
946149565 2 4
547293220
946149565 3 1
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 5 8
946149565 6 7
547293220
946149565 5 7
547293220
946149565 8 6
547293220
946149565 4 7
946149565 2 5
9461...

result:

points 1.0 points  1.0 Correct

Test #3:

score: 0
Accepted
time: 18ms
memory: 3804kb

input:

100 5000
1 0
1 1
2 1 0
1 0
1 1
1 0
1 1
2 0 1
1 1
1 1
4 1 1 0 0
2 1 0
1 1
1 0
2 0 0
1 1
1 0
1 1
1 1
2 1 1
1 1
1 0
1 0
1 0
2 0 0
1 0
1 1
4 0 0 1 1
2 0 1
1 1
1 1
2 0 0
1 1
1 0
8 1 1 1 1 1 1 0 0
4 1 1 1 1
2 1 1
1 1
1 1
2 1 0
1 0
1 0
4 0 0 0 1
2 1 1
1 0
1 0
2 0 0
1 1
1 0
1 1
1 0
2 0 1
1 1
1 1
1 0
1 0
2 1...

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 2 4
946149565 1 3
547293220
946149565 2 3
547293220
946149565 4 1
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 5 7
946149565 6 8
547293220
946149565 5 8
547293220
946149565 7 6
547293220
946149565 3 8
946149565 2 5
9461...

result:

points 1.0 points  1.0 Correct

Test #4:

score: 0
Accepted
time: 4ms
memory: 3816kb

input:

250 5000
1 0
1 0
2 1 0
1 1
1 1
1 0
1 1
2 0 1
1 1
1 1
4 1 1 0 0
2 1 0
1 0
1 1
2 0 0
1 1
1 0
1 0
1 0
2 0 1
1 1
1 0
1 0
1 0
2 1 0
1 1
1 0
4 0 1 1 1
2 1 1
1 1
1 1
2 1 0
1 1
1 0
8 1 1 1 1 0 0 0 0
4 1 1 1 1
2 1 1
1 1
1 1
2 0 0
1 0
1 0
4 0 1 1 1
2 0 0
1 0
1 1
2 0 1
1 0
1 0
1 1
1 1
2 0 0
1 0
1 1
1 0
1 0
2 1...

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 2 3
946149565 1 4
547293220
946149565 2 4
547293220
946149565 3 1
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 5 7
946149565 6 8
547293220
946149565 5 8
547293220
946149565 7 6
547293220
946149565 2 8
946149565 4 5
9461...

result:

points 1.0 points  1.0 Correct

Test #5:

score: 0
Accepted
time: 70ms
memory: 3748kb

input:

500 5000
1 0
1 0
2 1 0
1 1
1 1
1 0
1 1
2 0 1
1 1
1 1
4 1 1 0 0
2 1 0
1 0
1 1
2 1 1
1 0
1 1
1 0
1 0
2 0 1
1 0
1 0
1 1
1 0
2 1 0
1 0
1 1
4 0 0 1 1
2 0 0
1 0
1 1
2 0 0
1 1
1 0
8 1 1 1 1 0 0 0 0
4 1 1 1 1
2 1 1
1 1
1 1
2 0 0
1 0
1 0
4 0 0 1 1
2 1 1
1 1
1 0
2 1 1
1 0
1 1
1 0
1 1
2 0 0
1 0
1 1
1 0
1 1
2 1...

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 2 3
946149565 1 4
547293220
946149565 2 4
547293220
946149565 3 1
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 5 7
946149565 6 8
547293220
946149565 5 8
547293220
946149565 7 6
547293220
946149565 2 8
946149565 4 5
9461...

result:

points 1.0 points  1.0 Correct

Test #6:

score: 0
Accepted
time: 27ms
memory: 3752kb

input:

500 5000
1 1
1 1
2 1 1
1 1
1 0
1 1
1 1
2 1 1
1 1
1 0
4 1 1 1 1
2 1 1
1 1
1 1
2 0 0
1 0
1 0
1 1
1 1
2 1 1
1 1
1 0
1 1
1 1
2 1 1
1 1
1 0
4 1 1 1 1
2 1 1
1 1
1 1
2 0 0
1 0
1 0
8 1 1 1 1 1 1 1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
4 0 0 0 0
2 0 0
1 0
1 0
2 0 0
1 0
1 0
1 1
1 1
2 1 1
1 1
1 0
1 1
1 1
2 1...

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 1 4
946149565 2 3
547293220
946149565 1 2
547293220
946149565 4 3
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 6 7
946149565 5 8
547293220
946149565 7 8
547293220
946149565 6 5
547293220
946149565 1 8
946149565 2 7
9461...

result:

points 1.0 points  1.0 Correct

Test #7:

score: 0
Accepted
time: 38ms
memory: 3800kb

input:

500 5000
1 0
1 0
2 0 0
1 0
1 1
1 0
1 0
2 0 0
1 0
1 1
4 0 0 0 0
2 0 0
1 0
1 0
2 1 1
1 1
1 1
1 0
1 0
2 0 0
1 0
1 1
1 0
1 0
2 0 0
1 0
1 1
4 0 0 0 0
2 0 0
1 0
1 0
2 1 1
1 1
1 1
8 0 0 0 0 0 0 0 0
4 0 0 0 0
2 0 0
1 0
1 0
2 0 0
1 0
1 0
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
1 0
1 0
2 0 0
1 0
1 1
1 0
1 0
2 0...

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 2 3
946149565 1 4
547293220
946149565 3 4
547293220
946149565 2 1
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 5 8
946149565 6 7
547293220
946149565 5 6
547293220
946149565 8 7
547293220
946149565 4 5
946149565 3 6
9461...

result:

points 1.0 points  1.0 Correct

Test #8:

score: 0
Accepted
time: 26ms
memory: 3832kb

input:

500 5000
1 0
1 0
2 1 0
1 0
1 0
1 0
1 0
2 0 1
1 1
1 1
4 1 1 0 0
2 1 0
1 0
1 0
2 0 1
1 1
1 0
1 0
1 0
2 0 1
1 1
1 1
1 0
1 0
2 1 0
1 0
1 0
4 0 0 1 1
2 0 1
1 1
1 0
2 1 0
1 1
1 1
8 1 1 1 1 0 0 0 0
4 1 1 0 0
2 1 0
1 0
1 0
2 0 1
1 1
1 0
4 0 0 1 1
2 1 0
1 1
1 0
2 0 1
1 1
1 0
1 0
1 0
2 0 1
1 1
1 1
1 0
1 0
2 1...

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 2 3
946149565 1 4
547293220
946149565 2 4
547293220
946149565 3 1
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 5 8
946149565 6 7
547293220
946149565 5 7
547293220
946149565 8 6
547293220
946149565 4 7
946149565 2 5
9461...

result:

points 1.0 points  1.0 Correct

Test #9:

score: 0
Accepted
time: 64ms
memory: 3748kb

input:

500 5000
1 1
1 1
2 1 0
1 0
1 0
1 1
1 1
2 0 1
1 1
1 1
4 1 1 0 0
2 1 0
1 0
1 1
2 0 1
1 0
1 0
1 1
1 1
2 0 1
1 1
1 1
1 1
1 1
2 1 0
1 0
1 0
4 0 0 1 1
2 0 1
1 1
1 1
2 1 0
1 0
1 1
8 1 1 1 1 0 0 0 0
4 1 1 0 0
2 1 0
1 0
1 1
2 0 1
1 0
1 1
4 0 0 1 1
2 1 0
1 0
1 1
2 0 1
1 0
1 0
1 1
1 1
2 0 1
1 1
1 1
1 1
1 1
2 1...

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 1 4
946149565 2 3
547293220
946149565 1 3
547293220
946149565 4 2
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 6 7
946149565 5 8
547293220
946149565 6 8
547293220
946149565 7 5
547293220
946149565 3 8
946149565 1 6
9461...

result:

points 1.0 points  1.0 Correct

Subtask #3:

score: 0
Time Limit Exceeded

Test #10:

score: 0
Time Limit Exceeded

input:

500 1000
1 0
1 0
2 1 0
1 1
1 1
1 0
1 1
2 0 1
1 1
1 1
4 1 1 0 0
2 1 0
1 0
1 1
2 1 1
1 0
1 1
1 0
1 0
2 0 1
1 0
1 0
1 1
1 0
2 1 0
1 0
1 1
4 0 0 1 1
2 0 0
1 0
1 1
2 0 0
1 1
1 0
8 1 1 1 1 0 0 0 0
4 1 1 1 1
2 1 1
1 1
1 1
2 0 0
1 0
1 0
4 0 0 1 1
2 1 1
1 1
1 0
2 1 1
1 0
1 1
1 0
1 1
2 0 0
1 0
1 1
1 0
1 1
2 1...

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 2 3
946149565 1 4
547293220
946149565 2 4
547293220
946149565 3 1
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 5 7
946149565 6 8
547293220
946149565 5 8
547293220
946149565 7 6
547293220
946149565 2 8
946149565 4 5
9461...

result:


Subtask #4:

score: 3
Accepted

Test #15:

score: 3
Accepted
time: 0ms
memory: 3828kb

input:

10 5000
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
0
0
1 1
0
0
0
0
0
0
0
0
1 1
0
0
0
0
2 1 1
0
0
0
0
0
0
1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 1 4
946149565 2 3
547293220
946149565 1 2
547293220
946149565 4 3
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 6 7
946149565 5 8
547293220
946149565 7 8
547293220
946149565 6 5
547293220
946149565 1 8
946149565 2 7
9461...

result:

points 1.0 points  1.0 Correct

Test #16:

score: 0
Accepted
time: 3ms
memory: 3744kb

input:

100 5000
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
8 1 1 1 1 1 1 1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1...

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 1 4
946149565 2 3
547293220
946149565 1 2
547293220
946149565 4 3
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 6 7
946149565 5 8
547293220
946149565 7 8
547293220
946149565 6 5
547293220
946149565 1 8
946149565 2 7
9461...

result:

points 1.0 points  1.0 Correct

Subtask #5:

score: 2
Accepted

Dependency #4:

100%
Accepted

Test #17:

score: 2
Accepted
time: 7ms
memory: 3832kb

input:

10 5000
1 1
1 0
2 1 0
1 0
1 0
1 1
1 1
2 0 1
1 0
1 0
4 1 1 1 0
2 0 1
1 1
1 0
2 0 1
1 0
1 0
1 0
0
0
1 0
0
0
0
0
0
0
0
0
1 1
0
0
0
0
2 0 1
0
0
0
0
0
0
1 0
4 1 1 1 0
2 1 0
1 0
1 0
2 1 0
1 1
1 0

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 1 3
946149565 2 4
547293220
946149565 1 4
547293220
946149565 3 2
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 6 7
946149565 5 8
547293220
946149565 6 8
547293220
946149565 7 5
547293220
946149565 4 6
946149565 1 8
9461...

result:

points 1.0 points  1.0 Correct

Test #18:

score: 0
Accepted
time: 16ms
memory: 3784kb

input:

100 5000
1 0
1 0
2 0 0
1 1
1 1
1 1
1 0
2 0 1
1 1
1 0
4 1 0 1 1
2 1 1
1 1
1 0
2 1 0
1 0
1 0
1 0
1 1
2 1 0
1 0
1 1
1 0
1 0
2 1 1
1 1
1 1
4 0 0 1 0
2 0 0
1 0
1 0
2 0 0
1 0
1 1
8 0 1 0 1 0 1 1 1
4 1 1 1 0
2 1 1
1 0
1 0
2 1 1
1 0
1 1
4 1 1 1 0
2 1 0
1 1
1 1
2 1 1
1 1
1 1
1 1
1 0
2 0 1
1 1
1 1
1 0
1 0
2 0...

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 2 3
946149565 1 4
547293220
946149565 3 4
547293220
946149565 2 1
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 6 8
946149565 5 7
547293220
946149565 6 7
547293220
946149565 8 5
547293220
946149565 3 7
946149565 4 6
9461...

result:

points 1.0 points  1.0 Correct

Subtask #6:

score: 9
Accepted

Dependency #4:

100%
Accepted

Test #19:

score: 9
Accepted
time: 19ms
memory: 3748kb

input:

250 5000
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
8 1 1 1 1 1 1 1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1...

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 1 4
946149565 2 3
547293220
946149565 1 2
547293220
946149565 4 3
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 6 7
946149565 5 8
547293220
946149565 7 8
547293220
946149565 6 5
547293220
946149565 1 8
946149565 2 7
9461...

result:

points 1.0 points  1.0 Correct

Test #20:

score: 0
Accepted
time: 52ms
memory: 3748kb

input:

500 5000
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
8 1 1 1 1 1 1 1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1...

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 1 4
946149565 2 3
547293220
946149565 1 2
547293220
946149565 4 3
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 6 7
946149565 5 8
547293220
946149565 7 8
547293220
946149565 6 5
547293220
946149565 1 8
946149565 2 7
9461...

result:

points 1.0 points  1.0 Correct

Subtask #7:

score: 6
Accepted

Dependency #2:

100%
Accepted

Dependency #5:

100%
Accepted

Dependency #6:

100%
Accepted

Test #21:

score: 6
Accepted
time: 8ms
memory: 3824kb

input:

250 5000
1 0
1 0
2 0 1
1 1
1 0
1 1
1 0
2 0 0
1 0
1 0
4 0 0 1 0
2 1 0
1 0
1 0
2 1 1
1 1
1 0
1 0
1 0
2 0 1
1 0
1 1
1 1
1 0
2 1 1
1 0
1 0
4 0 1 1 1
2 1 1
1 0
1 1
2 0 0
1 0
1 1
8 1 1 1 1 1 1 0 0
4 1 0 1 1
2 0 1
1 0
1 1
2 1 1
1 0
1 1
4 1 0 0 0
2 0 1
1 1
1 1
2 0 0
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
1 0
1 1
2 0...

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 2 3
946149565 1 4
547293220
946149565 3 1
547293220
946149565 2 4
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 6 8
946149565 5 7
547293220
946149565 6 5
547293220
946149565 8 7
547293220
946149565 3 6
946149565 1 5
9461...

result:

points 1.0 points  1.0 Correct

Test #22:

score: 0
Accepted
time: 65ms
memory: 3800kb

input:

500 5000
1 0
1 0
2 1 1
1 0
1 1
1 0
1 1
2 0 1
1 0
1 0
4 0 0 1 1
2 1 0
1 1
1 1
2 0 0
1 0
1 1
1 0
1 1
2 1 0
1 0
1 1
1 0
1 0
2 0 1
1 1
1 0
4 1 0 0 1
2 1 0
1 1
1 0
2 1 0
1 1
1 0
8 0 0 1 0 1 0 0 1
4 0 1 1 0
2 1 0
1 1
1 1
2 0 0
1 0
1 0
4 0 1 1 1
2 1 0
1 1
1 1
2 1 0
1 0
1 0
1 1
1 1
2 1 0
1 1
1 1
1 1
1 0
2 0...

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 2 3
946149565 1 4
547293220
946149565 2 1
547293220
946149565 3 4
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 5 7
946149565 6 8
547293220
946149565 5 8
547293220
946149565 7 6
547293220
946149565 1 5
946149565 2 8
9461...

result:

points 1.0 points  1.0 Correct

Subtask #8:

score: 0
Runtime Error

Dependency #4:

100%
Accepted

Dependency #6:

100%
Accepted

Test #23:

score: 0
Runtime Error

input:

500 500
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
8 1 1 1 1 1 1 1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
4 1 1 1 1
2 1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 1
1 1
1 1
1 1
1 1
2 1 ...

output:

946149565 1 2
547293220
946149565 3 4
547293220
946149565 1 4
946149565 2 3
547293220
946149565 1 2
547293220
946149565 4 3
547293220
946149565 5 6
547293220
946149565 7 8
547293220
946149565 6 7
946149565 5 8
547293220
946149565 7 8
547293220
946149565 6 5
547293220
946149565 1 8
946149565 2 7
9461...

result:


Subtask #9:

score: 0
Skipped

Dependency #3:

0%

Subtask #10:

score: 0
Skipped

Dependency #8:

0%

Subtask #11:

score: 0
Skipped

Dependency #9:

0%

Subtask #12:

score: 0
Skipped

Dependency #10:

0%

Subtask #13:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

0%