We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c617d3d commit 57adbd0Copy full SHA for 57adbd0
617A.cpp
@@ -0,0 +1,11 @@
1
+#include<iostream>
2
+using namespace std;
3
+
4
+int main(){
5
+ int n;
6
+ cin>>n;
7
8
+ int steps = n % 5 == 0 ? n / 5 :(n / 5) + 1;
9
+ cout<<steps;
10
+ return 0;
11
+}
0 commit comments