#19970: __答案


s102163@stds.ntueees.tp.edu.tw (趙冠柏)

學校 : 臺北市私立延平高級中學
編號 : 110533
來源 : [203.72.178.252]
最後登入時間 :
2019-11-14 10:34:34

垃圾

#include <iostream>
using namespace std;

main(){
int w;
cin>>w;
if(w>50) cout<<w-1<<endl;
else cout<<w<<endl;
}

 

#19972: Re:答案


yp10870941 (劉珵彥)

學校 : 臺北市私立延平高級中學
編號 : 105821
來源 : [203.72.178.252]
最後登入時間 :
2019-11-21 11:16:26

垃圾

#include
using namespace std;

main(){
int w;
cin>>w;
if(w>50) cout<<w-1<<endl;
else cout<<w<<endl;
}

 

我教的


#20151: Re:答案


10851255 (同協好)

學校 : 臺北市私立延平高級中學
編號 : 104107
來源 : [203.72.178.252]
最後登入時間 :
2020-01-04 14:06:16

垃圾

#include
using namespace std;

main(){
int w;
cin>>w;
if(w>50) cout<<w-1<<endl;
else cout<<w<<endl;
}