aboutsummaryrefslogtreecommitdiff
path: root/problems/budgettraveler/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/budgettraveler/attachments/template.cpp
(init): Initialize repository.
Diffstat (limited to 'problems/budgettraveler/attachments/template.cpp')
-rw-r--r--problems/budgettraveler/attachments/template.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/problems/budgettraveler/attachments/template.cpp b/problems/budgettraveler/attachments/template.cpp
new file mode 100644
index 0000000..333402d
--- /dev/null
+++ b/problems/budgettraveler/attachments/template.cpp
@@ -0,0 +1,22 @@
+#include <iostream>
+#include <string>
+#include <vector>
+#include <algorithm>
+
+using namespace std;
+
+int main()
+{
+ int n;
+ cin >> n; cin.ignore();
+ for (int i = 0; i < n; i++) {
+ int x;
+ int y;
+ cin >> x >> y; cin.ignore();
+ }
+
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
+ // To debug: cerr << "Debug messages..." << endl;
+
+ cout << "answer" << endl;
+}