we need double
#include<bits/stdc++.h> using namespace std; double s; int main(){ cin>>s; double vb=s/3+50; double vw=s/1.2; if(vb>vw)cout<<"Walk"; else if(vb<vw)cout<<"Bike"; else cout<<"All"; return /*164*/0; }
By signing up a ZXOJ universal account, you can submit code and join discussions in all online judging services provided by us.
Using your ZXOJ universal account