这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《样例对了,提交全错ioi qwq》回复:
谢谢︿( ̄︶ ̄)︿
大佬帮我看看吧:( ```cpp #include using namespace std; char s[110],t; int n; int main(){ cin>>n>>s; for(int i=0;i >t; s[i]=t; } sort(s,s+n); for(int i=0;i<n;i++){ cout<…
在讨论《欢迎 XCPC 选手加 LA/LB 群》回复:
qp
```cpp #include using namespace std; long long n,thi=0,nex,maxx=-1,cou=0; int main(){ cin>>n; for(int i=1;i >nex; if(nex>thi){ cou++; maxx=max(cou,maxx); }else{…
在讨论《提醒!》回复:
就怕有这些人
在讨论《RemoteJudge 服务中断情况公告》回复:
qp哀悼
在讨论《RemoteJudge 服务中断情况公告》回复:
AT炸了,呜呜呜qwq ioi
在文章《题解:P2141 [NOIP2014 普及组] 珠心算测验》发表评论:
太强了
在文章《P2141 [NOIP2014 普及组] 珠心算测验 题解》发表评论:
666
在文章《B4077 [CSP-X2019 山东] 鼓掌》发表评论:
c++不是有内置gcd函数吗?__gcd(a,b) :?
在文章《【题解】P12247 跳舞机》发表评论:
qp
在文章《B4075 [NOIP-X2018 山东] 11 的倍数》发表评论:
用高精度?
```cpp #include using namespace std; string 🐍; int main(){ 🐍="你好2025"; cout<<🐍; return 0; } ``` 洛谷IDE c++17 能跑,不信你试。:)
我只想说洛谷IDE太强了,kkk太牛了 ```cpp #include using namespace std; long long n,k,x,🐍; int main(){ cin>>n>>k; for(int i=1;i >x; if(i==k){ 🐍-=x; } else 🐍+= x; } cout ω<…
当你不想用数位分离 思路; 查找62用string中的find函数 模的话就用~~int~~long long 由于要long long和string的转换,就用to_string(C++98不行) 上代码: ```cpp #include using namespace std; long long x,a;//不开…
在讨论《B4088求助》回复:
@[luoyebushiye](luogu://user/1317276) Thanks :)
```cpp #include using namespace std; bool hw(string a){ for(int i=0,j=a.size()-1;i >n; for(int i=1;i >a[i]; if(hw(to_string(a[i]))){ maxx=max(maxx,a[i]); } } co…
在讨论《懒人福利》回复:
有帮助请扣1
公式:总价=单价X数量(上过小学的都知道吧) 警告:奇葩写法来袭 ```cpp #include using namespace std; long double a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,sum; int main(){ cin>>a1 >>a2 >>a3 >>a4 >>a5 >>…
在讨论《样例过了,1WA 4RE》回复:
我说啊,直接用STL的multiset不香吗(蒟蒻为STL爱好者)
插一句,为什么不用STL呢?看题解几大百行的,头大。 ```cpp #include using namespace std; int n; int main(){ cin>>n; multiset st; for(int i=0;i >x; st.insert(x); } for(auto i:st){ cout<<…
P2837 ```cpp #include #include using namespace std; typedef int ll; ll n,t,b[10010],minn=99999; int main(){ cin>>n; for(int i=1;i >t; b[i]=b[i-1]+t; } for(int i…
代码如下 ```cpp #ifndef w #include #include void SCAB(int ForgC, int BackC) { WORD wColor = ((BackC & 0x0F) << 4) + (ForgC & 0x0F); SetConsoleTextAttribute(GetStdHa…
在讨论《什么情况?Σ(っ °Д °;)っ》回复:
是c++11
在讨论《什么情况?Σ(っ °Д °;)っ》回复:
@[_czy](/user/742275) 非常感谢o(* ̄▽ ̄*)ブ
代码为C++11 代码如下 ```cpp #include #include using namespace std; int main(){ vector v; v.push_back(1); v.push_back(2); v.push_back(2); v.push_back(3); for(auto i:v){…
在讨论《DevC++解决无法使用to_string》回复:
啊!意外发现C++14也行(突然感觉C++98又菜又烂)