这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include using namespace std; long long n,c=0; long long a=0,b=1; string s,s1,s2; int main(){ cin>>n>>s>>s1; for(int i=s.size()-1;i>=0;i--){ if(s[i]>='0'…
```cpp #include using namespace std; long long n,k; int main(){ cin>>n>>k; long long sum=0; sum=n; for(int i=1;;i++){ if(n>k){ sum+=n/k; n=n/k+n%k; }else{ break…
```cpp #include using namespace std; typedef long long LL; const int N=45; const int M=10; LL dp[N][M]; LL a[N][N]; LL g(int i,int j,string &s){ LL res=0; for(i…
在讨论《P1303 A*B Problem 80分求调》回复:
谢谢
在讨论《P1075 [NOIP 2012 普及组] 质因数分解》回复:
谢谢
```cpp #include using namespace std; long long a[1010],b[1010],r[1010]; string s1,s2; int main(){ ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); cin>>s1>>s2;…
```cpp #include using namespace std; bool zs(int x){ for(int i=2;i*i >n; for(int i=n;i>=1;i--){ for(int j=n;j>=1;j--){ if(zs(i) && zs(j) && i*j==n){ std::cout<<…
```cpp #include using namespace std; const int N=100010; int a[N],d1[N],d2[N]; int main(){ ios::sync_with_stdio(); cin.tie(0); cout.tie(0); int n=0; while(cin>>…