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