QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#258926#7619. Make SYSU Great Again IPZhengWA 0ms3536kbC++14192b2023-11-20 14:04:002023-11-20 14:04:01

Judging History

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

  • [2023-11-20 14:04:01]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3536kb
  • [2023-11-20 14:04:00]
  • 提交

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;
}

详细

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]