QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#609982 | #8041. Life is Hard and Undecidable, but... | yld | WA | 0ms | 3680kb | C++20 | 363b | 2024-10-04 14:38:35 | 2024-10-04 14:38:37 |
Judging History
answer
#include<bits/stdc++.h>
#define int long long
#define endl '\n'
using namespace std;
void solve()
{
int n,num=0;
cin>>n;
cout<<2*n<<endl;
for(int i=1;i<=2*n;i++)
{
cout<<i<<' '<<1<<endl;
}
}
signed main()
{
cin.tie(0)->sync_with_stdio(0);
int t=1;
// cin>>t;
while(t--) solve();
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3680kb
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