QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#514254#9175. Geometry Hackingucup-team3734#AC ✓1ms3712kbC++23376b2024-08-10 23:41:182024-08-10 23:41:20

Judging History

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

  • [2024-08-10 23:41:20]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3712kb
  • [2024-08-10 23:41:18]
  • 提交

answer

#include "bits/stdc++.h"

using namespace std;

using ll = long long;
using ld = long double;

#define all(x) (x).begin(), (x).end()

int main() {
  ios_base::sync_with_stdio(false);

  int k;
  cin >> k;
  for (int i = 0; i < k; ++i) {
    cout << "4\n";
    cout << "1 -1\n";
    cout << "-2 1\n";
    cout << "1 0\n";
    cout << "2 " << 10 + i << "\n";
  }

  return 0;
}

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

詳細信息

Test #1:

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

input:

2

output:

4
1 -1
-2 1
1 0
2 10
4
1 -1
-2 1
1 0
2 11

result:

ok Everything ok

Test #2:

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

input:

1

output:

4
1 -1
-2 1
1 0
2 10

result:

ok Everything ok

Test #3:

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

input:

1000

output:

4
1 -1
-2 1
1 0
2 10
4
1 -1
-2 1
1 0
2 11
4
1 -1
-2 1
1 0
2 12
4
1 -1
-2 1
1 0
2 13
4
1 -1
-2 1
1 0
2 14
4
1 -1
-2 1
1 0
2 15
4
1 -1
-2 1
1 0
2 16
4
1 -1
-2 1
1 0
2 17
4
1 -1
-2 1
1 0
2 18
4
1 -1
-2 1
1 0
2 19
4
1 -1
-2 1
1 0
2 20
4
1 -1
-2 1
1 0
2 21
4
1 -1
-2 1
1 0
2 22
4
1 -1
-2 1
1 0
2 23
4
1 -1...

result:

ok Everything ok

Test #4:

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

input:

500

output:

4
1 -1
-2 1
1 0
2 10
4
1 -1
-2 1
1 0
2 11
4
1 -1
-2 1
1 0
2 12
4
1 -1
-2 1
1 0
2 13
4
1 -1
-2 1
1 0
2 14
4
1 -1
-2 1
1 0
2 15
4
1 -1
-2 1
1 0
2 16
4
1 -1
-2 1
1 0
2 17
4
1 -1
-2 1
1 0
2 18
4
1 -1
-2 1
1 0
2 19
4
1 -1
-2 1
1 0
2 20
4
1 -1
-2 1
1 0
2 21
4
1 -1
-2 1
1 0
2 22
4
1 -1
-2 1
1 0
2 23
4
1 -1...

result:

ok Everything ok

Test #5:

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

input:

399

output:

4
1 -1
-2 1
1 0
2 10
4
1 -1
-2 1
1 0
2 11
4
1 -1
-2 1
1 0
2 12
4
1 -1
-2 1
1 0
2 13
4
1 -1
-2 1
1 0
2 14
4
1 -1
-2 1
1 0
2 15
4
1 -1
-2 1
1 0
2 16
4
1 -1
-2 1
1 0
2 17
4
1 -1
-2 1
1 0
2 18
4
1 -1
-2 1
1 0
2 19
4
1 -1
-2 1
1 0
2 20
4
1 -1
-2 1
1 0
2 21
4
1 -1
-2 1
1 0
2 22
4
1 -1
-2 1
1 0
2 23
4
1 -1...

result:

ok Everything ok

Test #6:

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

input:

420

output:

4
1 -1
-2 1
1 0
2 10
4
1 -1
-2 1
1 0
2 11
4
1 -1
-2 1
1 0
2 12
4
1 -1
-2 1
1 0
2 13
4
1 -1
-2 1
1 0
2 14
4
1 -1
-2 1
1 0
2 15
4
1 -1
-2 1
1 0
2 16
4
1 -1
-2 1
1 0
2 17
4
1 -1
-2 1
1 0
2 18
4
1 -1
-2 1
1 0
2 19
4
1 -1
-2 1
1 0
2 20
4
1 -1
-2 1
1 0
2 21
4
1 -1
-2 1
1 0
2 22
4
1 -1
-2 1
1 0
2 23
4
1 -1...

result:

ok Everything ok

Test #7:

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

input:

69

output:

4
1 -1
-2 1
1 0
2 10
4
1 -1
-2 1
1 0
2 11
4
1 -1
-2 1
1 0
2 12
4
1 -1
-2 1
1 0
2 13
4
1 -1
-2 1
1 0
2 14
4
1 -1
-2 1
1 0
2 15
4
1 -1
-2 1
1 0
2 16
4
1 -1
-2 1
1 0
2 17
4
1 -1
-2 1
1 0
2 18
4
1 -1
-2 1
1 0
2 19
4
1 -1
-2 1
1 0
2 20
4
1 -1
-2 1
1 0
2 21
4
1 -1
-2 1
1 0
2 22
4
1 -1
-2 1
1 0
2 23
4
1 -1...

result:

ok Everything ok

Extra Test:

score: 0
Extra Test Passed