本人代码:
#include<iostream> using namespace std; int main() { int x,n; cin>>x>>n; cout<<(x+n)%7+((x+n)%7==0)*7<<endl; return 0; }
求求了QWQ