QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#513725#9175. Geometry Hackingucup-team3510#AC ✓3ms3644kbC++14294b2024-08-10 19:17:222024-08-10 19:17:23

Judging History

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

  • [2024-08-10 19:17:23]
  • 评测
  • 测评结果:AC
  • 用时:3ms
  • 内存:3644kb
  • [2024-08-10 19:17:22]
  • 提交

answer

#include<iostream>
using namespace std;
int k;
int main()
{
	ios::sync_with_stdio(false);
	cin.tie(0);
	cin>>k;
	for(int i=1;i<=k;i++)
	{
		cout<<4<<endl;
		cout<<-1+i<<" "<<1<<endl;
		cout<<1<<" "<<0<<endl;
		cout<<3+i<<" "<<1<<endl;
		cout<<-i<<" "<<-1<<endl;
	}
	return 0;
}

这程序好像有点Bug,我给组数据试试?

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3644kb

input:

2

output:

4
0 1
1 0
4 1
-1 -1
4
1 1
1 0
5 1
-2 -1

result:

ok Everything ok

Test #2:

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

input:

1

output:

4
0 1
1 0
4 1
-1 -1

result:

ok Everything ok

Test #3:

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

input:

1000

output:

4
0 1
1 0
4 1
-1 -1
4
1 1
1 0
5 1
-2 -1
4
2 1
1 0
6 1
-3 -1
4
3 1
1 0
7 1
-4 -1
4
4 1
1 0
8 1
-5 -1
4
5 1
1 0
9 1
-6 -1
4
6 1
1 0
10 1
-7 -1
4
7 1
1 0
11 1
-8 -1
4
8 1
1 0
12 1
-9 -1
4
9 1
1 0
13 1
-10 -1
4
10 1
1 0
14 1
-11 -1
4
11 1
1 0
15 1
-12 -1
4
12 1
1 0
16 1
-13 -1
4
13 1
1 0
17 1
-14 -1
4
1...

result:

ok Everything ok

Test #4:

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

input:

500

output:

4
0 1
1 0
4 1
-1 -1
4
1 1
1 0
5 1
-2 -1
4
2 1
1 0
6 1
-3 -1
4
3 1
1 0
7 1
-4 -1
4
4 1
1 0
8 1
-5 -1
4
5 1
1 0
9 1
-6 -1
4
6 1
1 0
10 1
-7 -1
4
7 1
1 0
11 1
-8 -1
4
8 1
1 0
12 1
-9 -1
4
9 1
1 0
13 1
-10 -1
4
10 1
1 0
14 1
-11 -1
4
11 1
1 0
15 1
-12 -1
4
12 1
1 0
16 1
-13 -1
4
13 1
1 0
17 1
-14 -1
4
1...

result:

ok Everything ok

Test #5:

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

input:

399

output:

4
0 1
1 0
4 1
-1 -1
4
1 1
1 0
5 1
-2 -1
4
2 1
1 0
6 1
-3 -1
4
3 1
1 0
7 1
-4 -1
4
4 1
1 0
8 1
-5 -1
4
5 1
1 0
9 1
-6 -1
4
6 1
1 0
10 1
-7 -1
4
7 1
1 0
11 1
-8 -1
4
8 1
1 0
12 1
-9 -1
4
9 1
1 0
13 1
-10 -1
4
10 1
1 0
14 1
-11 -1
4
11 1
1 0
15 1
-12 -1
4
12 1
1 0
16 1
-13 -1
4
13 1
1 0
17 1
-14 -1
4
1...

result:

ok Everything ok

Test #6:

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

input:

420

output:

4
0 1
1 0
4 1
-1 -1
4
1 1
1 0
5 1
-2 -1
4
2 1
1 0
6 1
-3 -1
4
3 1
1 0
7 1
-4 -1
4
4 1
1 0
8 1
-5 -1
4
5 1
1 0
9 1
-6 -1
4
6 1
1 0
10 1
-7 -1
4
7 1
1 0
11 1
-8 -1
4
8 1
1 0
12 1
-9 -1
4
9 1
1 0
13 1
-10 -1
4
10 1
1 0
14 1
-11 -1
4
11 1
1 0
15 1
-12 -1
4
12 1
1 0
16 1
-13 -1
4
13 1
1 0
17 1
-14 -1
4
1...

result:

ok Everything ok

Test #7:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

69

output:

4
0 1
1 0
4 1
-1 -1
4
1 1
1 0
5 1
-2 -1
4
2 1
1 0
6 1
-3 -1
4
3 1
1 0
7 1
-4 -1
4
4 1
1 0
8 1
-5 -1
4
5 1
1 0
9 1
-6 -1
4
6 1
1 0
10 1
-7 -1
4
7 1
1 0
11 1
-8 -1
4
8 1
1 0
12 1
-9 -1
4
9 1
1 0
13 1
-10 -1
4
10 1
1 0
14 1
-11 -1
4
11 1
1 0
15 1
-12 -1
4
12 1
1 0
16 1
-13 -1
4
13 1
1 0
17 1
-14 -1
4
1...

result:

ok Everything ok

Extra Test:

score: 0
Extra Test Passed