aboutsummaryrefslogtreecommitdiff
path: root/WorkingWeek/main.cpp
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2022-11-01 11:51:53 +0200
committeromagdy7 <omar.professional8777@gmail.com>2022-11-01 11:51:53 +0200
commit91ca20b8f78eeeb74fc4eea6eeecdca9fefa5656 (patch)
tree0b8fa3a57f5e442c8134f089e64019aba89c5b19 /WorkingWeek/main.cpp
parentf2c878488b659cd19ccecc9880e042251585fdbb (diff)
downloadcompetitive-programming-91ca20b8f78eeeb74fc4eea6eeecdca9fefa5656.tar.xz
competitive-programming-91ca20b8f78eeeb74fc4eea6eeecdca9fefa5656.zip
Added new problems
Diffstat (limited to 'WorkingWeek/main.cpp')
-rw-r--r--WorkingWeek/main.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/WorkingWeek/main.cpp b/WorkingWeek/main.cpp
new file mode 100644
index 0000000..7ebc539
--- /dev/null
+++ b/WorkingWeek/main.cpp
@@ -0,0 +1,15 @@
+#include<bits/stdc++.h>
+
+using namespace std;
+
+int main () {
+ ios_base::sync_with_stdio(false);
+ cin.tie(NULL);
+ int tt;
+ cin >> tt;
+ while(tt--){
+ int n;
+ cin >> n;
+ cout << (n / 3) - 2 << endl;
+ }
+}