QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#549676#9175. Geometry Hackingucup-team3519#AC ✓3ms3684kbC++23481b2024-09-06 19:36:002024-09-06 19:36:00

Judging History

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

  • [2024-09-06 19:36:00]
  • 评测
  • 测评结果:AC
  • 用时:3ms
  • 内存:3684kb
  • [2024-09-06 19:36:00]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
#define V vector
#define pb push_back
#define fi first
#define se second
#define all1(x) (x).begin() + 1, (x).end()
typedef pair<int, int> pi;


int main() {
    int k; cin >> k;
    for(int i = 1; i <= k; i++) {
        cout << 4 << endl;
        cout << 0 << " " << 1 << endl;
        cout << 1 << " " << 0 << endl;
        cout << 2 + 2 * i << " " << 0 + i << endl;
        cout << -1 << " " << -1 << endl;
    }
}

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

详细

Test #1:

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

input:

2

output:

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

result:

ok Everything ok

Test #2:

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

input:

1

output:

4
0 1
1 0
4 1
-1 -1

result:

ok Everything ok

Test #3:

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

input:

1000

output:

4
0 1
1 0
4 1
-1 -1
4
0 1
1 0
6 2
-1 -1
4
0 1
1 0
8 3
-1 -1
4
0 1
1 0
10 4
-1 -1
4
0 1
1 0
12 5
-1 -1
4
0 1
1 0
14 6
-1 -1
4
0 1
1 0
16 7
-1 -1
4
0 1
1 0
18 8
-1 -1
4
0 1
1 0
20 9
-1 -1
4
0 1
1 0
22 10
-1 -1
4
0 1
1 0
24 11
-1 -1
4
0 1
1 0
26 12
-1 -1
4
0 1
1 0
28 13
-1 -1
4
0 1
1 0
30 14
-1 -1
4
0 ...

result:

ok Everything ok

Test #4:

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

input:

500

output:

4
0 1
1 0
4 1
-1 -1
4
0 1
1 0
6 2
-1 -1
4
0 1
1 0
8 3
-1 -1
4
0 1
1 0
10 4
-1 -1
4
0 1
1 0
12 5
-1 -1
4
0 1
1 0
14 6
-1 -1
4
0 1
1 0
16 7
-1 -1
4
0 1
1 0
18 8
-1 -1
4
0 1
1 0
20 9
-1 -1
4
0 1
1 0
22 10
-1 -1
4
0 1
1 0
24 11
-1 -1
4
0 1
1 0
26 12
-1 -1
4
0 1
1 0
28 13
-1 -1
4
0 1
1 0
30 14
-1 -1
4
0 ...

result:

ok Everything ok

Test #5:

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

input:

399

output:

4
0 1
1 0
4 1
-1 -1
4
0 1
1 0
6 2
-1 -1
4
0 1
1 0
8 3
-1 -1
4
0 1
1 0
10 4
-1 -1
4
0 1
1 0
12 5
-1 -1
4
0 1
1 0
14 6
-1 -1
4
0 1
1 0
16 7
-1 -1
4
0 1
1 0
18 8
-1 -1
4
0 1
1 0
20 9
-1 -1
4
0 1
1 0
22 10
-1 -1
4
0 1
1 0
24 11
-1 -1
4
0 1
1 0
26 12
-1 -1
4
0 1
1 0
28 13
-1 -1
4
0 1
1 0
30 14
-1 -1
4
0 ...

result:

ok Everything ok

Test #6:

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

input:

420

output:

4
0 1
1 0
4 1
-1 -1
4
0 1
1 0
6 2
-1 -1
4
0 1
1 0
8 3
-1 -1
4
0 1
1 0
10 4
-1 -1
4
0 1
1 0
12 5
-1 -1
4
0 1
1 0
14 6
-1 -1
4
0 1
1 0
16 7
-1 -1
4
0 1
1 0
18 8
-1 -1
4
0 1
1 0
20 9
-1 -1
4
0 1
1 0
22 10
-1 -1
4
0 1
1 0
24 11
-1 -1
4
0 1
1 0
26 12
-1 -1
4
0 1
1 0
28 13
-1 -1
4
0 1
1 0
30 14
-1 -1
4
0 ...

result:

ok Everything ok

Test #7:

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

input:

69

output:

4
0 1
1 0
4 1
-1 -1
4
0 1
1 0
6 2
-1 -1
4
0 1
1 0
8 3
-1 -1
4
0 1
1 0
10 4
-1 -1
4
0 1
1 0
12 5
-1 -1
4
0 1
1 0
14 6
-1 -1
4
0 1
1 0
16 7
-1 -1
4
0 1
1 0
18 8
-1 -1
4
0 1
1 0
20 9
-1 -1
4
0 1
1 0
22 10
-1 -1
4
0 1
1 0
24 11
-1 -1
4
0 1
1 0
26 12
-1 -1
4
0 1
1 0
28 13
-1 -1
4
0 1
1 0
30 14
-1 -1
4
0 ...

result:

ok Everything ok

Extra Test:

score: 0
Extra Test Passed