#19970: 答案


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

學校 : 臺北市私立延平高級中學
編號 : 110533
來源 : [203.72.178.252]
最後登入時間 :
2019-11-14 10:34:34
d068. 該減肥了! -- 板橋高中教學題 | From: [203.72.178.252] | 發表日期 : 2019-11-14 10:40

垃圾

#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
d068. 該減肥了! -- 板橋高中教學題 | From: [203.72.178.252] | 發表日期 : 2019-11-14 10:42

垃圾

#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
d068. 該減肥了! -- 板橋高中教學題 | From: [203.72.178.252] | 發表日期 : 2019-12-09 14:27

垃圾

#include
using namespace std;

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

 




 
ZeroJudge Forum