题解
查看原帖
题解
1364942
liuzhaofeng666楼主2024/6/29 20:30

这道题运用累加就行了。

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int m,l,n;
	cin>>m;
	l=m/13;
	n=m-13*l;
	cout<<l<<endl<<n;
	return 0;
}
2024/6/29 20:30
加载中...