From 3496b0ed08c51e37e135e686b1632fd86f930c2c Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Mon, 30 Sep 2024 16:08:27 +0530 Subject: (init): Initialize repository. --- problems/raidtime/attachments/template.cpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 problems/raidtime/attachments/template.cpp (limited to 'problems/raidtime/attachments/template.cpp') diff --git a/problems/raidtime/attachments/template.cpp b/problems/raidtime/attachments/template.cpp new file mode 100644 index 0000000..2c74c71 --- /dev/null +++ b/problems/raidtime/attachments/template.cpp @@ -0,0 +1,27 @@ +#include +#include +#include +#include + +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; +} -- cgit v1.2.3