aboutsummaryrefslogtreecommitdiff
path: root/problems/chainwords/attachments/template.cpp
blob: b9af1d8d6be9cdfc592494dcaa9f623651aa5a01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>

using namespace std;

int main()
{
    int n;
    cin >> n; cin.ignore();
    for (int i = 0; i < n; i++) {
        string word;
        getline(cin, word);
    }

    // Write an answer using cout. DON'T FORGET THE "<< endl"
    // To debug: cerr << "Debug messages..." << endl;

    cout << "winner" << endl;
}