QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#725100#9175. Geometry HackingLucky_LuoAC ✓0ms3948kbC++11489b2024-11-08 16:15:572024-11-08 16:15:57

Judging History

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

  • [2024-11-08 16:15:57]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3948kb
  • [2024-11-08 16:15:57]
  • 提交

answer

#include <bits/stdc++.h>
#define fi first
#define se second
#define pb emplace_back
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
int i, j, k, l, r, m, n, idx;
signed main()
{
//	freopen(".in", "r", stdin);
//	freopen(".out", "w", stdout);
//	ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
	scanf("%d", &n);
	for (i=1; i<=n; i++)
	{
		puts("4");
		puts("1 0");
		puts("-2 -1");
		puts("1 1");
		printf("2 %d\n", -i);
	}
	return 0;
}

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

詳細信息

Test #1:

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

input:

2

output:

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

result:

ok Everything ok

Test #2:

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

input:

1

output:

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

result:

ok Everything ok

Test #3:

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

input:

1000

output:

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

result:

ok Everything ok

Test #4:

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

input:

500

output:

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

result:

ok Everything ok

Test #5:

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

input:

399

output:

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

result:

ok Everything ok

Test #6:

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

input:

420

output:

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

result:

ok Everything ok

Test #7:

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

input:

69

output:

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

result:

ok Everything ok

Extra Test:

score: 0
Extra Test Passed