QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#769823#6652. 着色ANIG#WA 0ms3688kbC++14244b2024-11-21 19:31:212024-11-21 19:31:21

Judging History

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

  • [2024-11-21 19:31:21]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3688kb
  • [2024-11-21 19:31:21]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
#define int long long
int n;
signed main(){
	cin>>n;
	if(n>20){
		cout<<-1;
		return 0;
	}
	for(int i=1;i<n;i++){
		for(int j=i+1;j<=n;j++){
			cout<<(i+j)%10;
		}
		cout<<"\n";
	}
}

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3556kb

input:

2

output:

3

result:

ok Accepted.

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3688kb

input:

1000

output:

-1

result:

wrong answer There is an answer, but you do not provide one.