summaryrefslogtreecommitdiff
path: root/mod/code/cses
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2025-02-13 15:53:54 -0500
committerKleidi Bujari <mail@4kb.net>2025-02-13 15:53:54 -0500
commit0287a28426b6fc8452e73d037820213638c97659 (patch)
tree5c21bd3cb3f4c9a6cdd679259db3726ca4d3a986 /mod/code/cses
parent221d7084c23dce02e3f47ab18db2bfba78efe83b (diff)
downloaddepot-0287a28426b6fc8452e73d037820213638c97659.tar.gz
depot-0287a28426b6fc8452e73d037820213638c97659.tar.bz2
depot-0287a28426b6fc8452e73d037820213638c97659.zip
feb2025 sprint
Diffstat (limited to 'mod/code/cses')
-rw-r--r--mod/code/cses/problems/1071.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/mod/code/cses/problems/1071.cpp b/mod/code/cses/problems/1071.cpp
new file mode 100644
index 0000000..778cc86
--- /dev/null
+++ b/mod/code/cses/problems/1071.cpp
@@ -0,0 +1,19 @@
+#include <iostream>
+#include <tuple>
+#include <vector>
+
+using ull = unsigned long long;
+
+int main() {
+ int n;
+ std::cin >> n;
+
+ while (n--) {
+ ull x, y;
+ std::cin >> y >> x;
+
+ auto area = y * y;
+ auto perimeter = y + y + 1;
+ auto max = area + perimeter;
+ }
+}