QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#509635#9175. Geometry HackingPhantomThreshold#AC ✓1ms3652kbC++17368b2024-08-08 16:41:442024-08-08 16:41:44

Judging History

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

  • [2024-08-08 16:41:44]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3652kb
  • [2024-08-08 16:41:44]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;

typedef long long ll;

int main(){
	ios_base::sync_with_stdio(false);
	ll k;
	cin >> k;
	for (ll a=5;a<k+5;a++){
		cout << 4 << "\n";
		cout << a << " " << 2*a-1 << "\n";
		cout << 1 << " " << 0 << "\n";
		cout << a+1 << " " << 2*a+1 << "\n";
		cout << -(2*a+1) << " " << -(4*a) << "\n";
	}
	return 0;	
}

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

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2

output:

4
5 9
1 0
6 11
-11 -20
4
6 11
1 0
7 13
-13 -24

result:

ok Everything ok

Test #2:

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

input:

1

output:

4
5 9
1 0
6 11
-11 -20

result:

ok Everything ok

Test #3:

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

input:

1000

output:

4
5 9
1 0
6 11
-11 -20
4
6 11
1 0
7 13
-13 -24
4
7 13
1 0
8 15
-15 -28
4
8 15
1 0
9 17
-17 -32
4
9 17
1 0
10 19
-19 -36
4
10 19
1 0
11 21
-21 -40
4
11 21
1 0
12 23
-23 -44
4
12 23
1 0
13 25
-25 -48
4
13 25
1 0
14 27
-27 -52
4
14 27
1 0
15 29
-29 -56
4
15 29
1 0
16 31
-31 -60
4
16 31
1 0
17 33
-33 -6...

result:

ok Everything ok

Test #4:

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

input:

500

output:

4
5 9
1 0
6 11
-11 -20
4
6 11
1 0
7 13
-13 -24
4
7 13
1 0
8 15
-15 -28
4
8 15
1 0
9 17
-17 -32
4
9 17
1 0
10 19
-19 -36
4
10 19
1 0
11 21
-21 -40
4
11 21
1 0
12 23
-23 -44
4
12 23
1 0
13 25
-25 -48
4
13 25
1 0
14 27
-27 -52
4
14 27
1 0
15 29
-29 -56
4
15 29
1 0
16 31
-31 -60
4
16 31
1 0
17 33
-33 -6...

result:

ok Everything ok

Test #5:

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

input:

399

output:

4
5 9
1 0
6 11
-11 -20
4
6 11
1 0
7 13
-13 -24
4
7 13
1 0
8 15
-15 -28
4
8 15
1 0
9 17
-17 -32
4
9 17
1 0
10 19
-19 -36
4
10 19
1 0
11 21
-21 -40
4
11 21
1 0
12 23
-23 -44
4
12 23
1 0
13 25
-25 -48
4
13 25
1 0
14 27
-27 -52
4
14 27
1 0
15 29
-29 -56
4
15 29
1 0
16 31
-31 -60
4
16 31
1 0
17 33
-33 -6...

result:

ok Everything ok

Test #6:

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

input:

420

output:

4
5 9
1 0
6 11
-11 -20
4
6 11
1 0
7 13
-13 -24
4
7 13
1 0
8 15
-15 -28
4
8 15
1 0
9 17
-17 -32
4
9 17
1 0
10 19
-19 -36
4
10 19
1 0
11 21
-21 -40
4
11 21
1 0
12 23
-23 -44
4
12 23
1 0
13 25
-25 -48
4
13 25
1 0
14 27
-27 -52
4
14 27
1 0
15 29
-29 -56
4
15 29
1 0
16 31
-31 -60
4
16 31
1 0
17 33
-33 -6...

result:

ok Everything ok

Test #7:

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

input:

69

output:

4
5 9
1 0
6 11
-11 -20
4
6 11
1 0
7 13
-13 -24
4
7 13
1 0
8 15
-15 -28
4
8 15
1 0
9 17
-17 -32
4
9 17
1 0
10 19
-19 -36
4
10 19
1 0
11 21
-21 -40
4
11 21
1 0
12 23
-23 -44
4
12 23
1 0
13 25
-25 -48
4
13 25
1 0
14 27
-27 -52
4
14 27
1 0
15 29
-29 -56
4
15 29
1 0
16 31
-31 -60
4
16 31
1 0
17 33
-33 -6...

result:

ok Everything ok

Extra Test:

score: 0
Extra Test Passed