Never deny yourself until you try
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
# 前情提要 > 众所不周知,本蒟蒻想举办一场水题大赛,命名为ShTOI(因为已经有了个StOI),但是现在缺一些人手和题目。 # 详情 现在恳请各位大牛帮我出一些水题(题目尽量控制在黄题以内),有想的也可以加入组委会。感谢各位! 有可以帮忙的请在评论区留言!十分感谢 **PS:第一场ShTOI预计将在2025/08/…
在讨论《怎么回事???》回复:
32分,然后代码如下: ```cpp #include using namespace std; stack stk; stack out; char x; int main() { while(cin >> x) stk.push(x); while(!stk.empty()) { x = stk.top(); st…
在讨论《80分,有用必关!》回复:
@[ZJY1207](luogu://user/1372344) okok,谢谢DALAO!
代码如下: ```cpp #include using namespace std; const int N=1e5+10; int n,m,p1,s1,p2,s2,camp[N],a,b; long long minn=1e7; int main(){ scanf("%d",&n); for(int i=1;i m)…
在讨论《大佬们帮一下本蒟蒻(0分)》回复:
@[wyxing](luogu://user/1573746) ```cpp #include using namespace std; bool l[110][110]; int n,m,k,ans; int main(){ scanf("%d%d%d",&n,&m,&k); for(int i=1;i >a>>b;…
错误代码如下,WA ```cpp #include using namespace std; bool l[110][110]; int n,m,k,ans; int main(){ scanf("%d%d%d",&n,&m,&k); for(int i=1;i >a>>b; a+=2; b+=2; for(int i…
83分 求各路神仙指点迷津 ```cpp #include using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a>b){ swap(a,b); if(b>c) swap(b,c); } else{ swap(b,c); if(a>b) swap(a…
在讨论《样例没过》回复:
@[bjqxszx_liruixuan](luogu://user/1036936) 谢谢大牛
样例直接就是一个没过。。。 ```cpp #include using namespace std; char s[15]; int code[9],v,now,sum; int main(){ for(int i=1;i >s[i]; for(int i=1;i<=12;i++){ if(s[i]=='-') con…
在讨论《0分》回复:
@[__int1024](luogu://user/1208546) 为什么要cout<<i-1呢?
在讨论《0分》回复:
@[__liujy](luogu://user/1657369) 十分感谢
在讨论《0分》回复:
@[__int1024](luogu://user/1208546) 谢谢大佬改的码
我感觉逻辑没有问题,但是连样例都没有通过=( --- 代码如下: ```cpp #include using namespace std; int k; double sum; int main(){ cin>>k; int i=1; while(1){ if(sum>k){ cout<<i; break; } els…
在讨论《I Need HELP!》回复:
@[CheeseFunction](luogu://user/1100788) ok,谢谢
在讨论《I Need HELP!》回复:
@[roumeideclown](luogu://user/830990) 哇,红名大神,太感谢了
 ### 上图为错误提示 ### 以下为源代码 ```cpp #include using namespace std; int m,n,a[100000],s[100000],r[10…
著名五星上将麦克阿瑟曾经说过: > 做不出来这道题的都是伞兵 ```cpp #include using namespace std; double dist(double x1,double y1,double x2,double y2){ return sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y…
```cpp #include using namespace std; int main(){ struct info{ int score; char name[30]; }people[100]; int n,high=0; string hname; cin>>n; for(int i=0;i >people[…
 各位看一下,我不知道我的输入法选字框怎么成了这样(微软自带windows输入法)
```cpp #include using namespace std; int main(){ char c[27],a='a'; for(int i=0;i >str; charcnt=str.size(); for(int i=0;i<charcnt;i++){ for(int j=0;j<27;j++){ if…
```cpp #include using namespace std; double dist(int x1,int y1,int x2,int y2){ return sqrt(pow(x2-x1,2)+pow(y2-y1,2)); } int main(){ int coor[2][3]; double s=0;…
想问一下各位我这个代码思路哪里出问题了,不知道为什么错了 ```cpp #include using namespace std; int main(){ string a="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; int num; cin>>num; for(int i=0;i<a.size();i…
在讨论《为什么啊啊啊!》回复:
@[HuangLiHeng](/user/468923) 十分感谢
```cpp #include using namespace std; int main(){ int n,price[105],x,cnt=0; cin>>n; for(int i=0;i >price[i]; } cin>>x; for(int i=0;i<=n;i++){ if(price[i]<x){ cnt…
在讨论《40》回复:
好的谢谢各位
```cpp #include using namespace std; int main(){ int a,b,x,y; double n; cin>>x>>a>>y>>b; n=(b*y-a*x)/(b-a); printf("%.2lf",n); return 0; } ```
```cpp #include using namespace std; int main(){ int k=0,n; float sn=0.0; cin>>k; for(n=1;sn>k*1.0;n++){ sn+=1/n; } cout<<n; return 0; } ``` Why 我 wrong 啊?! Eve…
请问各位大牛,我错在哪里了? ```cpp #include using namespace std; int main(){ int m,h; double bmi; cin>>m>>h; bmi=m*1.0/(h*h); if(bmi =18.5&&bmi<24) cout<<"Normal"; else{ cou…
在讨论《洛谷 Dataset 代码征集公告》回复:
q