3612021-10-29 23:51:25lalalaÉpítkezéspython3Runtime error 0/10046ms18096 KiB
#include <iostream>
#include <sstream>
#include <string>
#include <vector>

using namespace std;

vector <string> readStrings() {
    string line, tmp;
    getline(cin, line);
    stringstream ss(line);
    vector <string> result;
    while (ss >> tmp) {
        result.push_back(tmp);
    }
    return result;
}

int main() {
    vector <string> tokens = readStrings();
    for (string token: tokens) {
        cout << token << " ";
    }
    cout << "\n";
}
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Runtime error46ms17968 KiB
2Runtime error32ms18000 KiB
subtask20/20
3Runtime error28ms18008 KiB
4Runtime error28ms18028 KiB
5Runtime error28ms17948 KiB
subtask30/15
6Runtime error28ms17980 KiB
7Runtime error28ms18072 KiB
8Runtime error28ms18056 KiB
subtask40/25
9Runtime error29ms18060 KiB
10Runtime error34ms18080 KiB
11Runtime error28ms18016 KiB
12Runtime error30ms18020 KiB
13Runtime error30ms17948 KiB
subtask50/15
14Runtime error30ms18076 KiB
15Runtime error29ms18000 KiB
16Runtime error30ms18012 KiB
17Runtime error30ms18044 KiB
18Runtime error29ms18096 KiB
subtask60/25
19Runtime error30ms18028 KiB
20Runtime error30ms18032 KiB
21Runtime error30ms18076 KiB
22Runtime error32ms18024 KiB
23Runtime error32ms18028 KiB
24Runtime error30ms17972 KiB
25Runtime error32ms17996 KiB
26Runtime error32ms17948 KiB
27Runtime error30ms18056 KiB