aboutsummaryrefslogtreecommitdiff
path: root/problems/whoisleading/attachments/template.cpp
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-09-30 16:08:27 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-09-30 16:08:27 +0530
commit3496b0ed08c51e37e135e686b1632fd86f930c2c (patch)
tree1da44792489607070f3b4ca14d82af05b73e362b /problems/whoisleading/attachments/template.cpp
(init): Initialize repository.
Diffstat (limited to 'problems/whoisleading/attachments/template.cpp')
-rw-r--r--problems/whoisleading/attachments/template.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/problems/whoisleading/attachments/template.cpp b/problems/whoisleading/attachments/template.cpp
new file mode 100644
index 0000000..8162bcb
--- /dev/null
+++ b/problems/whoisleading/attachments/template.cpp
@@ -0,0 +1,23 @@
+#include <iostream>
+#include <string>
+#include <vector>
+#include <algorithm>
+
+using namespace std;
+
+int main()
+{
+ string teams;
+ getline(cin, teams);
+ string scores_1;
+ getline(cin, scores_1);
+ string scores_2;
+ getline(cin, scores_2);
+ for (int i = 0; i < 2; i++) {
+
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
+ // To debug: cerr << "Debug messages..." << endl;
+
+ cout << "Team name: score minutes_leading" << endl;
+ }
+}