点击这里更换您喜欢的皮肤wtboj 首页
请点击这里登入noios   首页 入门 c++讲义 入门教程视频 金牌教程 入门视频 站务 公告 | 题库 记录 竞测 测试 闯关 作业 排名 团队 讨论 | 换肤 | 登入 注册  
News >>   新增功能:各团队管理员可以发布本团队作业了 ()

讨论 Discussion
 
123
var a,b:string;
begin
 assign(input,'p1601.in');
 assign(output,'p1601.out');
 reset(input);
 rewrite(output);

 readln(a);
 readln(b);
 if (a='shitou')and(b='jianzi')or(a='jianzi')and(b='bu')or(a='bu')and(b='shitou') then
 write('first win!')
 else
 if (a='shitou')and(b='bu')or(a='jianzi')and(b='shitou')or(a='bu')and(b='jianzi') then
 write('second win!')
 else
 write('deuce!');
 close(input);
 close(output);
end.
( )

此主题无回复显示
发布讨论主题 回复讨论主题
 Copyright wtboj © 2005-2006. www.wutuobang.date Powered by wtboj 关于 联系 帮助
 wtboj Information ---- Total Users : 1242 | Online Users / Processes : 0 / 51 | Processed Time : 63 ms | Server Time : 2025/4/27 2:47:10