比赛 | EYOI与SBOI开学欢乐赛10th | 评测结果 | AAAAAAAAAAAAAAAAAAAAAAAAA |
---|---|---|---|
题目名称 | 无尽方格 | 最终得分 | 100 |
用户昵称 | ZRQ | 运行时间 | 0.054 s |
代码语言 | C++ | 内存使用 | 1.00 MiB |
提交时间 | 2022-10-10 19:03:21 | ||
- #include<iostream>
- #include<cstdio>
- using namespace std;
- string s1,s2;
- int main()
- {
- freopen("wjfg.in","r",stdin);
- freopen("wjfg.out","w",stdout);
- ios::sync_with_stdio(0);
- cin.tie(0);
- cout.tie(0);
- while(cin>>s1>>s2)
- {
- if(s1=="**"||s2=="**") printf("sbsyb\n");
- else if(s1==s2) printf("sbsyb\n");
- else printf("ngm\n");
- }
- return 0;
- }