这个家伙很懒,什么也没有留下||Ce gars est paresseux, il ne reste rien||This guy is very lazy and left nothing behind||100%壶关
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include using namespace std; int n; double a[330],x,y,maxx,minn=7891,sum,avr,maxmi; int main() { cin>>n; for(int i=1;i >a[i]; if(a[i]>maxx)maxx=a[i]; if…
``` #include using namespace std; string m; int k,cnt; int main() { cin>>m>>k; for(int i=0;i<m.size();i++) { if(m[i]=="3") { cnt++; } } if(cnt==k) { cout<<"YES"…
在讨论《10分!求助!AC必关》回复:
@[exCRT](luogu://user/1804613) AC了感谢大佬
代码: ``` #include using namespace std; int n; double ans; int main() { cin>>n; for(int i=1;i<=n;i++) { ans+=pow(-1,n-1)*(1.0/i); } printf("%.4lf",ans); return 0;…
```cpp #include using namespace std; struct xxx{ int a; bool f=false; int w1,w2; }x[110]; bool cmp(xxx x1,xxx x2) { if(x1.a>x2.a)return true; else return false;…
在讨论《???求调》回复:
@[Letmix](luogu://user/1067002)栓Q(求壶关)
在讨论《???求调》回复:
改了一些,不报错了但40分 ``` #include using namespace std; int t,db[100]={0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071}; bool isprime(int x) {…
``` #include using namespace std; int t,db[100]={0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071}; bool isprime(int x) { for(int i=2;i…
在讨论《why》回复:
oh thanks
``` #include using namespace std; int n,a[2100],v[2100][2100]; int dfs(int day,int l,int r) { if(v[l][r]) { return v[l][r]; } if(l>r) { return 0; } return v[l][…
``` #include using namespace std; int n,a[360],sum,dp[360][360],s[360],dp2[360][360]; int main() { ios::sync_with_stdio(false); cin.tie(0);cout.tie(0); cin>>n;…
在讨论《被JC了怎么改回用户名》回复:
给3k发邮件,ta应该会发你一个手写申请,您写一下提交给ta应该就行了,我之前就被JC过,也是用户名被改了,就这样改回来了
在讨论《报错……》回复:
``` In file included from /nix/store/bbmwawbq7wjb54fa35wr72alcm083d1f-luogu-gcc-9.3.0/include/c++/9.3.0/bits/stl_algobase.h:71, from /nix/store/bbmwawbq7wjb54fa…
在讨论《报错……》回复:
会得30
``` #include using namespace std; struct xxx{ int c,m,e,z,z2,g,pm,ci; //c是语文,m是数学,e是英语,z是总分,z2是c+m,g是语文数学最高分,pm是排名,ci是第几个输入的 bool is=false; }a[10086]; int n; bo…
在文章《少年陈哲-番外篇-支线 1》发表评论:
火钳刘明
帮我改改吧,递归 ```cpp #include using namespace std; int n,a[114514],b[114514],ans; void xxx(int l,int r) { for(int i=l;i >n; for(int i=1;i >a[i]; xxx(1,n); cout<<ans;…
``` #include using namespace std; const int MAX=1919810; int n,m; int t[MAX],v[MAX]; int dp[MAX]; int minn=0x3f3f3f3f; signed main() { cin>>m>>n; for(int i=1;i…
在讨论《蓝题》回复:
停车场,紫题
在讨论《A+B求助(bushi)》回复:
火钳刘明
``` #include using namespace std; long long n,dp[100005][100005],a[100005],b[100005]; int main() { ios::sync_with_stdio(false); cin.tie(0);cout.tie(0); cin>>n;…
在讨论《20qwq(玄关)》回复:
AC:#1#3#4
在讨论《20qwq(玄关)》回复:
``` #include using namespace std; int n,a[1005],dp[1005],m,sum; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); cin>>n; m=n; for(int i=1;i >a…
在讨论《求助》回复:
``` #include using namespace std; int n,a[1005],dp[1005],m,sum; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); cin>>n; m=n; for(int i=1;i >a…
在讨论《求助》回复:
AC:#1#4 样例过
在讨论《求助》回复:
# Generic Cow Protests ## 题目描述 约翰家的 $n$ 头奶牛聚集在一起,排成一列,正在进行一项抗议活动。第 $i$ 头奶牛的理智度为 $a_i$。 约翰希望奶牛在抗议时保持理性,为此,他打算将所有的奶牛隔离成若干个小组,每个小组内的奶牛的理智度总和都要不小于零。 由于奶牛是按直线排列的,所以一…
在讨论《求助》回复:
``` #include using namespace std; int n,a[1005],dp[1005],m; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); cin>>n; m=n; for(int i=1;i >a[i];…
[题](https://www.luogu.com.cn/problem/P1569)``` #include using namespace std; int n,a[1005],dp[1005],m; int main() { ios::sync_with_stdio(false); cin.tie(0); cou…
``` #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); int n,a[1005],dp[1005],m; cin>>n; m=n; for(int i=1;i >a[i];…