55
265
版主
#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-3-1 12:23 , Processed in 0.259611 second(s), 35 queries .
Powered by Discuz! X3.3 Licensed
Copyright © 2001-2020, Tencent Cloud.