QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#526794 | #9175. Geometry Hacking | ucup-team1264 | AC ✓ | 1ms | 3704kb | C++20 | 956b | 2024-08-21 20:27:36 | 2024-08-21 20:27:37 |
Judging History
answer
// https://www.youtube.com/watch?v=wthasN45KuY
// You said I’d fly away
// But my walls have kept me down
// Now I’m lost and I’m afraid
// And I’m close to hit the ground
//
// You said I’d fly away
// You said I’d fly anywhere
// But I keep on Falling
#ifndef ONLINE_JUDGE
#include "templates/debug.hpp"
#else
#define debug(...)
#endif
#include <bits/stdc++.h>
using namespace std;
using i64 = int64_t;
using u64 = uint64_t;
// #define int i64
void solve() {
int k; cin >> k;
while (k--) {
cout << 4 << "\n";
cout << -2 << " " << -1 << "\n";
cout << 1 << " " << 0 << "\n";
cout << 2 << " " << -1 - k << "\n";
cout << 1 << " " << 1 << "\n";
}
}
#undef int
// Make bold hypotheses and verify carefully
int main() {
cin.tie(nullptr);
ios::sync_with_stdio(false);
int t = 1;
// cin >> t;
while (t--) {
solve();
}
}
这程序好像有点Bug,我给组数据试试?
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3552kb
input:
2
output:
4 -2 -1 1 0 2 -2 1 1 4 -2 -1 1 0 2 -1 1 1
result:
ok Everything ok
Test #2:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
1
output:
4 -2 -1 1 0 2 -1 1 1
result:
ok Everything ok
Test #3:
score: 0
Accepted
time: 1ms
memory: 3624kb
input:
1000
output:
4 -2 -1 1 0 2 -1000 1 1 4 -2 -1 1 0 2 -999 1 1 4 -2 -1 1 0 2 -998 1 1 4 -2 -1 1 0 2 -997 1 1 4 -2 -1 1 0 2 -996 1 1 4 -2 -1 1 0 2 -995 1 1 4 -2 -1 1 0 2 -994 1 1 4 -2 -1 1 0 2 -993 1 1 4 -2 -1 1 0 2 -992 1 1 4 -2 -1 1 0 2 -991 1 1 4 -2 -1 1 0 2 -990 1 1 4 -2 -1 1 0 2 -989 1 1 4 -2 -1 1 0 2 -988 1 1 ...
result:
ok Everything ok
Test #4:
score: 0
Accepted
time: 1ms
memory: 3636kb
input:
500
output:
4 -2 -1 1 0 2 -500 1 1 4 -2 -1 1 0 2 -499 1 1 4 -2 -1 1 0 2 -498 1 1 4 -2 -1 1 0 2 -497 1 1 4 -2 -1 1 0 2 -496 1 1 4 -2 -1 1 0 2 -495 1 1 4 -2 -1 1 0 2 -494 1 1 4 -2 -1 1 0 2 -493 1 1 4 -2 -1 1 0 2 -492 1 1 4 -2 -1 1 0 2 -491 1 1 4 -2 -1 1 0 2 -490 1 1 4 -2 -1 1 0 2 -489 1 1 4 -2 -1 1 0 2 -488 1 1 4...
result:
ok Everything ok
Test #5:
score: 0
Accepted
time: 1ms
memory: 3632kb
input:
399
output:
4 -2 -1 1 0 2 -399 1 1 4 -2 -1 1 0 2 -398 1 1 4 -2 -1 1 0 2 -397 1 1 4 -2 -1 1 0 2 -396 1 1 4 -2 -1 1 0 2 -395 1 1 4 -2 -1 1 0 2 -394 1 1 4 -2 -1 1 0 2 -393 1 1 4 -2 -1 1 0 2 -392 1 1 4 -2 -1 1 0 2 -391 1 1 4 -2 -1 1 0 2 -390 1 1 4 -2 -1 1 0 2 -389 1 1 4 -2 -1 1 0 2 -388 1 1 4 -2 -1 1 0 2 -387 1 1 4...
result:
ok Everything ok
Test #6:
score: 0
Accepted
time: 1ms
memory: 3644kb
input:
420
output:
4 -2 -1 1 0 2 -420 1 1 4 -2 -1 1 0 2 -419 1 1 4 -2 -1 1 0 2 -418 1 1 4 -2 -1 1 0 2 -417 1 1 4 -2 -1 1 0 2 -416 1 1 4 -2 -1 1 0 2 -415 1 1 4 -2 -1 1 0 2 -414 1 1 4 -2 -1 1 0 2 -413 1 1 4 -2 -1 1 0 2 -412 1 1 4 -2 -1 1 0 2 -411 1 1 4 -2 -1 1 0 2 -410 1 1 4 -2 -1 1 0 2 -409 1 1 4 -2 -1 1 0 2 -408 1 1 4...
result:
ok Everything ok
Test #7:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
69
output:
4 -2 -1 1 0 2 -69 1 1 4 -2 -1 1 0 2 -68 1 1 4 -2 -1 1 0 2 -67 1 1 4 -2 -1 1 0 2 -66 1 1 4 -2 -1 1 0 2 -65 1 1 4 -2 -1 1 0 2 -64 1 1 4 -2 -1 1 0 2 -63 1 1 4 -2 -1 1 0 2 -62 1 1 4 -2 -1 1 0 2 -61 1 1 4 -2 -1 1 0 2 -60 1 1 4 -2 -1 1 0 2 -59 1 1 4 -2 -1 1 0 2 -58 1 1 4 -2 -1 1 0 2 -57 1 1 4 -2 -1 1 0 2 ...
result:
ok Everything ok
Extra Test:
score: 0
Extra Test Passed