QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#749820 | #8041. Life is Hard and Undecidable, but... | ice_cup# | WA | 0ms | 3572kb | C++14 | 478b | 2024-11-15 10:33:42 | 2024-11-15 10:33:42 |
Judging History
answer
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
#include<bits/stdc++.h>
using namespace std;
#define mk make_pair
#define MID int mid=(l+r)>>1;
#define ll long long
#define endl '\n'
#define siz(a) int(a.size())
int n;
void solve(){
cin>>n;
cout<<2*n<<endl;
for(int i=1;i<=2*n;i++){
cout<<i<<' '<<1<<endl;
}
}
int main(){
// ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
int TTT;
// cin>>TTT;
TTT=1;
while(TTT--)solve();
}
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3568kb
input:
1
output:
2 1 1 2 1
result:
ok n=2
Test #2:
score: -100
Wrong Answer
time: 0ms
memory: 3572kb
input:
2
output:
4 1 1 2 1 3 1 4 1
result:
wrong answer Alive at generation 2