aboutsummaryrefslogtreecommitdiff
path: root/.boilerplates/comp/file.cpp
diff options
context:
space:
mode:
authorMarvin Borner2020-05-16 20:10:41 +0200
committerMarvin Borner2020-05-16 20:10:41 +0200
commitd6360cd90fd84aff02a617287b019593e9020651 (patch)
treee3bd137492592111dc9b7327e462088ab04b9f47 /.boilerplates/comp/file.cpp
parentff878aa072ee32bb679902a412b9d10ca6323967 (diff)
Preparing configs for googles kickstart comp!
(yes, I'll be using cpp)
Diffstat (limited to '.boilerplates/comp/file.cpp')
-rw-r--r--.boilerplates/comp/file.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/.boilerplates/comp/file.cpp b/.boilerplates/comp/file.cpp
new file mode 100644
index 0000000..ffdf9be
--- /dev/null
+++ b/.boilerplates/comp/file.cpp
@@ -0,0 +1,31 @@
+#include <iostream>
+#include <cmath>
+#include <bits/stdc++.h>
+using namespace std;
+
+#define IOS \
+ ios::sync_with_stdio(0); \
+ cin.tie(0); \
+ cout.tie(0);
+#define int long long
+
+int32_t main()
+{
+ IOS int T;
+ cin >> T;
+ for (int t = 0; t < T; t++) {
+ int n, cnt = 0;
+ cin >> n;
+
+ int a[n];
+ for (int i = 0; i < n; i++) {
+ cin >> a[i];
+ }
+
+ //
+
+ cout << "Case #" << t + 1 << ": " << cnt << endl;
+ }
+
+ return 0;
+}