#45770: c++答案


yp11351205@yphs.tp.edu.tw (709-36黃泊霖)

學校 : 臺北市私立延平高級中學
編號 : 276130
來源 : [203.72.178.1]
最後登入時間 :
2025-04-10 14:34:23
d049. 中華民國萬歲! -- 板橋高中教學題 | From: [203.72.178.1] | 發表日期 : 2025-04-10 14:14

答案:

#include<bits/stdc++.h>
using namespace std;
int main(){
 int a;
 while(cin>>a)
 {
     if(a>=1911) cout<<a-1911<<endl;
  } 
    return 0;
}
 
ZeroJudge Forum