25为啥欸
查看原帖
25为啥欸
544949
Linyu霖妤楼主2022/6/25 19:10
#include <bits/stdc++.h>
using namespace std;

int main ()
{
    int i,j=0,k=0;
    cin >> i;
    while (i-k>0){ 
        j++;
    	k += j;
	}
	cout << i-k+j <<'/'<< k-i+1;
	return 0 ;
}
2022/6/25 19:10
加载中...