본문 바로가기
Programming/Judge

Algospot : Hello World!

by deviAk 2014. 12. 11.
반응형

https://algospot.com/judge/problem/read/HELLOWORLD


<결과>



<코드>

#include<iostream>
#include<string>

using namespace std;

int main() 
{
	int cases;
	cin >> cases;
	while (cases--) 
	{
		string name;
		cin >> name;
		cout << "Hello, " << name << "!" << endl;
	}
}


반응형

댓글0