棨戟 • 13小时前
using namespace std; int main(){
int n; cin>>n; if(n%3==0&&n%7==0){cout<<n/7;} else cout<<"-1"; return 0;
}
评论:
请先登录,才能进行评论