blob: 2c74c7104cd371449b5d57bdeff0f1301bda69e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
int main()
{
int w;
cin >> w; cin.ignore();
for (int i = 0; i < w; i++) {
string wall;
getline(cin, wall);
}
int d;
cin >> d; cin.ignore();
for (int i = 0; i < d; i++) {
string door;
getline(cin, door);
}
// Write an answer using cout. DON'T FORGET THE "<< endl"
// To debug: cerr << "Debug messages..." << endl;
cout << "0 C4 needed to go through 0 walls" << endl;
}
|