QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#258926 | #7619. Make SYSU Great Again I | PZheng | WA | 0ms | 3536kb | C++14 | 192b | 2023-11-20 14:04:00 | 2023-11-20 14:04:01 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n,k;
cin>>n>>k;
cout<<1<<' '<<1<<endl;
for(int i=2;i<=k;i++){
cout<<(i+1)/2<<' '<<(i+2)/2<<endl;
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3536kb
input:
3 6
output:
1 1 1 2 2 2 2 3 3 3 3 4
result:
wrong answer Integer 4 violates the range [1, 3]