| 记录编号 | 576598 | 评测结果 | AAAAAAAAAAAAAAAAAAAAAAAAA | ||
|---|---|---|---|---|---|
| 题目名称 | 3764.无尽方格 | 最终得分 | 100 | ||
| 用户昵称 | 是否通过 | 通过 | |||
| 代码语言 | C++ | 运行时间 | 0.053 s | ||
| 提交时间 | 2022-10-12 19:59:16 | 内存使用 | 1.00 MiB | ||
#include<bits/stdc++.h>
#define ll long long
using namespace std;
string i,j;
int n,m;
int main(){
freopen("wjfg.in","r",stdin);
freopen("wjfg.out","w",stdout);
ios::sync_with_stdio(0);
cin.tie(0);
while(cin>>i>>j)
{
if(i=="**"||j=="**")
{
cout<<"sbsyb"<<endl;
continue;
}
if(i==j) cout<<"sbsyb"<<endl;
else cout<<"ngm"<<endl;
}
return 0;
}