这不对吧
查看原帖
这不对吧
1098009
tees_of_times楼主2024/8/22 15:49
#include <bits/stdc++.h>
using namespace std;
int main()
{
    //freopen("numbergame.in","r",stdin);
    //freopen("numbergame.out","w",stdout);
    ios::sync_with_stdio(false);
	int n;
	cin>>n;
	cout<<n%9;
	return 0;
}

突然就AC了。。。

2024/8/22 15:49
加载中...