UVA10420:

List of Conquests

#include <iostream>
#include <string>
#include <sstream>


using namespace std;

int main(){
	
	string s; 
	stringstream ss;
	string country, girl; 
	int n; 
	cin >> n;
	for(int i = 0; i < n; i++){
		getline(cin, s);

		ss << s;
		ss >> country;

	}
	
	return 0; 
}
[Back to Listing Page]

Home

Posts

Projects

Github

Contact

janzzen

Developed by Janzzen Ang powered by Vercel