Problem ID :a004. 民國與西元的換算 (*)

New Thread

User 請問一下錯在哪裡?謝謝!

a80040404 SendIMessage
哈亞斗

a004. 民國與西元的換算 (*) | From: 120.105.92.98 | Post Date:2020-07-03 14:39:22.0

#include <iostream>
using namespace std;

int main()
{
    int n,a;
    cin >> n;
    cout << n+1911 << endl;
    
cin >> a;
    cout << a+1911 << endl;
return 0;
}
 


文章類型: 一般 | Reply | Back
User Re:請問一下錯在哪裡?謝謝!

ss10810928b SendIMessage
▬▬▬.◙.▬▬▬

a004. 民國與西元的換算 (*) | From: 118.168.84.115 | Post Date:2020-07-03 19:24:09.0

 
#include
using namespace std;

int main()
{
    int n,a;
    cin >> n;
    cout << n+1911 << endl;
    
cin >> a;
    cout << a+1911 << endl;
return 0;
}


紅色的地方刪掉就好了
 


文章類型: 一般 | Reply | Back

New Thread

ZeroJudge Forum