长郡梅溪湖中学c2413班16号可以来找我
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include using namespace std; typedef long long ll; ll n,b[21],maxn,cnt; char c; string s[21]; ll find(ll x,ll y){ ll l1=s[x].size(),l2=s[y].size(); for(…
```cpp #include using namespace std; typedef long long ll; ll n,m,e1x=999,e2x,e1y=999,e2y,cnt,maxn,ans[1001][1001]; char a[1001][1001],b[1001][1001]; ll dx[4]={…
```cpp #include using namespace std; typedef unsigned long ull; ull a,b,n; int main(){ cin>>a; for(ull i=1;i<=a;i++)n=n*2+2; cout<<n; } ```
```cpp #include using namespace std; typedef long long ll; ll a,b,f[10010],z[10010],m[10010],s,temp,n,ans,x; int main(){ ll i=1; scanf("%d/%d",&a,&b); char c; w…
在讨论《20分求助》回复:
@[miyachn](luogu://user/1295276)已关
```cpp #include using namespace std; typedef long long ll; ll x,s=0; int main(){ cin >> x; for (ll q=1;q<=x;q++){ for (ll i=1;i<=q;i++){ if(q%i==0){ s++; } } }…
在讨论《RE求助!!!》回复:
谢谢大佬
在讨论《有人能告诉我集合是什么吗?》回复:
@[zhou2414](luogu://user/1062499)谢谢
```cpp #include using namespace std; typedef long long ll; bool b[100000010]; ll a[10000010]; int main(){ ll n,q,t=0; cin>>n>>q; for(ll i=2;i >x; cout<<a[x]<<en…
在讨论《40分求助,帮助必关》回复:
关注了
在讨论《40分求助,帮助必关》回复:
已关
``` #include using namespace std; typedef long long ll; ll a[100]={6,2,5,5,4,5,6,3,7,6},cnt; int main(){ ll n; cin>>n; n-=4; for(ll i=0;i<=9;i++){ for(ll j=0;j<…
在讨论《求助》回复:
```cpp #include using namespace std;int main(){cout<<"Hello,World!";} ```
在讨论《我的代码错哪儿了?》回复:
求关 ```cpp #include using namespace std; #define N 10 char a[N][N]={0}; int i,j,A=1,B=0,ci,cj,C=1,D=0,fi,fj,cnt=0; void input(); void cow_move(); void farmer_mov…
在讨论《40分MLE求调》回复:
求关 ```cpp #include using namespace std; string s; long long n,l; char f(long long len,long long n){ if(len >s>>n; long long len=s.size(); l=len; s=' '+s; while(…
在讨论《92分求教》回复:
求关 ```cpp #include using namespace std; typedef long long ll; ll n,c,a[200010],s; int main(){ cin>>n>>c; for(ll i=1;i >a[i]; } sort(a+1,a+n+1); for(ll i=1;i<n;i…
在讨论《求解答,佬们,为啥我这个样例算出来是2.8啊》回复:
这是AC代码
在讨论《求解答,佬们,为啥我这个样例算出来是2.8啊》回复:
```cpp #include using namespace std; typedef long long ll; int main(){ double a,b,c; cin>>a>>b>>c; double l=0,r=4; while(r-l>0.0001){ double m=l+(r-l)/2.0; doub…
```cpp #include using namespace std; typedef long long ll; ll m,n,a[100010],b[100010],s=0; int main(){ cin>>m>>n; for(int i=1;i >a[i]; } for(int i=1;i >b[i]; }…
在讨论《python求助》回复:
@[HFLS__Bobby](luogu://user/1526758)谢谢大佬
在讨论《why 48pts?》回复:
```cpp #include #define int long long #define x first #define y second using namespace std; typedef pair pii; const int N=1e6+10,M=1e7+10; int n,m; int root; in…
```cpp #include using namespace std; typedef long long ll; ll a[200000],c[2000],s; int main(){ string st; ll k,n,le; cin>>st>>k; le=st.size(); for(ll i=1;i st[j…
```cpp #include using namespace std; typedef long long ll; ll a[2000000],c[2000],s; int main(){ string st; ll k,n,le; cin>>st>>k; le=st.size(); for(ll i=1;i st[…
在讨论《50分TLE求调》回复:
```cpp #include using namespace std; int p,sum[501],r[1001]; void pd(int p){ if(p==0) return; pd(p/2); for(int i=1;i >p; cout =2;i--){ cout<<sum[i]; if(i%50==1)…
在讨论《50分TLE求调》回复:
```python import math def calculate_mersenne_prime(P): # 计算位数 digits = math.floor(P * math.log10(2)) + 1 # 计算2^P - 1的最后500位 mod = 10 ** 500 last_500_digits = (p…
```cpp #include using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; int m=0; int n=a+b+c; for(int i=1;i m)m=a; if(b>m)m=b; if(c>m)m=c; } if((n-m)>m)cout<<…
在讨论《求助!!0分》回复:
刚刚输出时没加=号,少输出了一列
在讨论《求助!!0分》回复:
AC了 那是正确代码
在讨论《求助!!0分》回复:
```cpp #include using namespace std; typedef long long ll; ll n,m,a[510][510],b[510][510]; void f(ll x,ll y,ll r,ll z){ for(ll i=1;i >n>>m; ll t=0; for(ll i=1;i…