#28562: CPP


11030067@mail.hpsh.tp.edu.tw (和平110級鄧雨珊)

School : 臺北市立和平高級中學
ID : 163096
IP address : [203.72.60.244]
Last Login :
2022-03-11 16:00:13
c186. 蝸牛老師的點名單 -- 板橋高中python教學題 | From: [203.72.60.237] | Post Date : 2021-12-17 13:59

#include <iostream>
#include <sstream>
using namespace std;

int main(){
string s;
getline(cin, s);
stringstream ss(s);
string name;
while (ss >> name){
cout << name <<endl;
}
}
 
ZeroJudge Forum