#45389: 解題程式碼+清楚註解(C++)


roy0123@smail.ilc.edu.tw (朗e~)

學校 : 不指定學校
編號 : 273695
來源 : [1.200.145.20]
最後登入時間 :
2025-02-23 14:22:34
a001. 哈囉 -- Brian Kernighan | From: [49.158.153.178] | 發表日期 : 2025-02-23 14:31

#include <iostream>     //匯入輸入輸出模組
#include <string>       //匯入string模組
using namespace std;

int main()
{
    string s;           //宣告一個字串分數
    cin>>s;
    cout<<"hello, "<<s<<endl;

    return 0;
}

 
ZeroJudge Forum