QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#513137#9175. Geometry Hackingucup-team1004#AC ✓1ms3684kbC++14534b2024-08-10 17:02:452024-08-10 17:02:46

Judging History

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

  • [2024-08-10 17:02:46]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3684kb
  • [2024-08-10 17:02:45]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
#ifdef DEBUG
#include"debug.h"
#else
#define debug(...) void()
#endif
#define all(x) (x).begin(),(x).end()
template<class T>
auto ary(T *a,int l,int r){
	return vector<T>{a+l,a+1+r};
}
using ll=long long;
using ull=unsigned long long;
int k;
int main(){
	cin>>k;
	for(int i=1;i<=k;i++){
		cout<<4<<'\n';
		cout<<1<<' '<<0<<'\n';
		cout<<2<<' '<<i<<'\n';
		cout<<1<<' '<<-1<<'\n';
		cout<<-2<<' '<<1<<'\n';
	}
	return 0;
}
#ifdef DEBUG
#include"debug.hpp"
#endif

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

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3540kb

input:

2

output:

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

result:

ok Everything ok

Test #2:

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

input:

1

output:

4
1 0
2 1
1 -1
-2 1

result:

ok Everything ok

Test #3:

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

input:

1000

output:

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

result:

ok Everything ok

Test #4:

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

input:

500

output:

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

result:

ok Everything ok

Test #5:

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

input:

399

output:

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

result:

ok Everything ok

Test #6:

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

input:

420

output:

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

result:

ok Everything ok

Test #7:

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

input:

69

output:

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

result:

ok Everything ok

Extra Test:

score: 0
Extra Test Passed