90求助
查看原帖
90求助
1493865
zyxwhitemouse楼主2025/1/29 16:06

90分求助!!!

#include<bits/stdc++.h>
using namespace std;
int main(){
	int s,l,k;
	cin>>s>>l;
	k=s+l;
	if(k%7!=0){
		cout<<k%7;
	}else{
		cout<<s+l;
	}
	return 0;
}
2025/1/29 16:06
加载中...