My issue
not understand
My code
#include <stdio.h>
int main(void) {
#include <stdio.h>
int main(void) {
// your code goes here
int t;
scanf("%d",&t);
for(int = 0; _ < t; _ ++){
int n,q,r;
scanf("%d",&n);
q = n / 7;
r = n % 7;
if(r > 1){
printf("%d\n",q+1);
}
else{
printf("%d\n",q);
}
}
return 0;
}
Problem Link: CHEAT Problem - CodeChef