#51253: c++正解跟思路


yp11451032@yphs.tp.edu.tw (711-23吳嘉恩)


#include<iostream>
using namespace std;
int main() {
    int year;//建立變數
    cin>>year;//輸入變數
    cout<<year-1911;//-1911成為民國年分
}