Skip to content

Commit 2eae20c

Browse files
committed
Create 1735A-WorkingWeek.cpp
1 parent 58a01fd commit 2eae20c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

1735A-WorkingWeek.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#include <iostream>
2+
3+
int main() {
4+
5+
long t;
6+
scanf("%ld", &t);
7+
while (t--) {
8+
long n;
9+
scanf("%ld", &n);
10+
printf("%ld\n", (n - 6) / 3);
11+
}
12+
}

0 commit comments

Comments
 (0)