#124: cpp.答案


s228 (謝旭睿)

學校 : 不指定學校
編號 : 263
來源 : [114.47.198.24]
最後登入時間 :
2026-05-04 19:14:40
t031. 401 字串與檔案處理 (字串長度與連結) | From: [114.39.107.20] | 發表日期 : 2026-04-25 23:15

#include<bits/stdc++.h>
using namespace std;
int main()
{
    string a,b;
    if(cin>>a>>b){
        cout << a.length() << endl;
        cout << b.length() << endl;
        cout << a + b << endl;
    }
return 0;
}
 
ZeroJudge Forum