55
版主
#include<bits/stdc++.h> using namespace std; int main(){ int s; double b,w; cin>>s; b=50+s/3.0; w=s/1.2; if(b==w){ cout<<"All"; } if(b>w){ cout<<"Walk"; } if(b<w){ cout<<"Bike"; } return 0; }
使用道具 举报
|小黑屋|山东智趣岛论坛 ( 鲁ICP备2023024048号 )
GMT+8, 2025-4-21 02:59 , Processed in 0.155746 second(s), 36 queries .
Powered by Discuz! X3.3 Licensed
Copyright © 2001-2020, Tencent Cloud.