QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#116916#6668. Trokutieyiigjkn#0 11ms3540kbC++14401b2023-06-30 10:45:162024-05-31 18:34:28

Judging History

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

  • [2024-05-31 18:34:28]
  • 评测
  • 测评结果:0
  • 用时:11ms
  • 内存:3540kb
  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-06-30 10:45:16]
  • 提交

answer

# include <bits/stdc++.h>
using namespace std;
constexpr int n=100;
bool G[110][110];
int query(int a,int b,int c)
{
	cout<<"? "<<a<<" "<<b<<" "<<c<<endl;
	int x;cin>>x;
	return x;
}
int main()
{
	for(int i=1;i<=n;i++)
		for(int j=1;j<i;j++)
			G[i][j]=G[j][i]=query(i,i,j)/2;
	cout<<"!\n";
	for(int i=1;i<=n;i++)
		for(int j=1;j<=n;j++)
			cout<<G[i][j]<<" \n"[j==n];
	return 0;
}

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 11ms
memory: 3540kb

input:

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

output:

? 2 2 1
? 3 3 1
? 3 3 2
? 4 4 1
? 4 4 2
? 4 4 3
? 5 5 1
? 5 5 2
? 5 5 3
? 5 5 4
? 6 6 1
? 6 6 2
? 6 6 3
? 6 6 4
? 6 6 5
? 7 7 1
? 7 7 2
? 7 7 3
? 7 7 4
? 7 7 5
? 7 7 6
? 8 8 1
? 8 8 2
? 8 8 3
? 8 8 4
? 8 8 5
? 8 8 6
? 8 8 7
? 9 9 1
? 9 9 2
? 9 9 3
? 9 9 4
? 9 9 5
? 9 9 6
? 9 9 7
? 9 9 8
? 10 10 1
? ...

result:

wrong answer Token parameter [name=ans_i] equals to "0", doesn't correspond to pattern "[01]{100,100}"