aboutsummaryrefslogtreecommitdiff
path: root/problems/gameofquarters/attachments/template.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'problems/gameofquarters/attachments/template.cpp')
-rw-r--r--problems/gameofquarters/attachments/template.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/problems/gameofquarters/attachments/template.cpp b/problems/gameofquarters/attachments/template.cpp
new file mode 100644
index 0000000..98a8956
--- /dev/null
+++ b/problems/gameofquarters/attachments/template.cpp
@@ -0,0 +1,23 @@
+#include <iostream>
+#include <string>
+#include <vector>
+#include <algorithm>
+
+using namespace std;
+
+int main()
+{
+ int number_of_rounds;
+ cin >> number_of_rounds; cin.ignore();
+ for (int i = 0; i < number_of_rounds; i++) {
+ string alice_sequence;
+ string bob_sequence;
+ string round_tosses;
+ cin >> alice_sequence >> bob_sequence >> round_tosses; cin.ignore();
+ }
+
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
+ // To debug: cerr << "Debug messages..." << endl;
+
+ cout << "WINNER!" << endl;
+}