ZJANS

c716. Johnny B. Goode

Beginner Last Update: 2026/01/25
基礎 IO

給一個名字 s
輸出 “Go, {s}, go go”

※ 名字可能含空格


解法一

✅ 完整代碼

評分結果(參考) : AC (2ms, 328KB)

#include<bits/stdc++.h>
#define int long long
using namespace std;

signed main(){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    
    string s;
    getline(cin, s);
    cout << "Go, " << s <<", go go";
    
    return 0;
}