AC

Bryson  •  16天前


这题能评3级???

不日,这也太送了吧

AC

#include <bits/stdc++.h>
using namespace std;

int main() {
	int n;
	cin>>n;
	if(n%21==0)
		cout<<n/7;
	else
		cout<<-1;
	return 0;
}

评论:

请先登录,才能进行评论