H

Hydrogen_H

#1294759

我是最重要的氢元素(I'm just a nobody.)

发帖
25
文章
3
互动
38
陶片
0
获赞
0
收藏
0

历史用户名外显

追踪最近的用户名外显变动记录。

  1. Hydrogen_H
    最早追溯到 2025/12/03最后捕获于 2025/12/03
  2. Hydrogen_H
    最早追溯到 2025/01/04最后捕获于 2025/11/03
  3. Leon111
    最早追溯到 2024/04/14最后捕获于 2024/04/14

时间线

最近的文章、讨论、云剪贴板与社区记录

  1. 回复讨论

    在讨论「SFMOI」Round II 赛时答疑帖回复:

    Div.2只做A、B、C、D对吧
  2. 回复讨论

    在讨论OUTPUT exceeds?回复:

    @[NewbieZZZ](luogu://user/1120498)@[nbhs23a28](luogu://user/1271868)OK 过了 此章已完结
  3. 发起讨论
    OUTPUT exceeds?

    ``` cpp #include using namespace std; int a[5010][2000]={{1,1},{1,1}}; int n; void pl(int x) { a[x][0]=max(a[x-1][0],a[x-2][0]); int mor=0; for(int i=1;i >n; fo…

    回复 3参与人数 3
  4. 回复讨论

    在讨论TLE...0回复:

    @[Orange0628](luogu://user/980202) 那肯定的,默认语言,从来没改过,上来就是直接写代码的。
  5. 回复讨论

    在讨论TLE...0回复:

    @[Orange0628](luogu://user/980202) ![](https://cdn.luogu.com.cn/upload/image_hosting/jhy8zf0z.png?x-oss-process=image/resize,m_lfit,h_170,w_225)
  6. 回复讨论

    在讨论TLE...0回复:

    @[Orange0628](luogu://user/980202) ![](https://cdn.luogu.com.cn/upload/image_hosting/npkee9by.png?x-oss-process=image/resize,m_lfit,h_170,w_225)
  7. 发起讨论
    TLE...0

    ``` cpp #include using namespace std; int n; int pre[12]; vector a; vector tmp; void asort(int x,vector v) { if(x==0) { for(int i=1;i >n; for(int i=0;i<n;) a.pu…

    回复 8参与人数 8
  8. 回复讨论

    在讨论LGR-231-Div.3 & 「CZOI-R4」赛时答疑回复:

    ![](https://cdn.luogu.com.cn/upload/image_hosting/5l9jnf24.png?x-oss-process=image/resize,m_lfit,h_170,w_225) ???
  9. 发布文章
    P2842中为何用dp?

    今天我们来分析一下[P2842](www.luogu.com.cn/problem/P2842)这题为什么要用dp动态规划。 我们学过的基础算法有: ``` 高精度计算 排序 递推 递归 深度优先搜索 回溯 广度优先搜索(宽度优先搜索) 贪心 分治 动态规划 ``` 然后去掉没用的: ``` 递推 动态规划 贪心 ``…

    获赞 0评论 0
  10. 发起讨论
    ?10fen

    ```cpp #include using namespace std; int m,n; int a[81][81]; short n2[110]={1,2}; int ans[10001]={1,0}; int ans1[1020]={0,0}; void c2() { int ou=0; for(int i=1;…

    回复 0参与人数 1
  11. 发布文章
    sorting algorithm

    # 排序算法 ## 选择排序 ### 代码 ``` cpp #include using namespace std; int main() { int a[110],maxn=-1,pos; int n; for(int i=1;i >a[i]; for(int i=n;i>=2/*注意不是i>=1*/;i--) {…

    获赞 0评论 0
  12. 发起讨论
    TLE(快MLE)求助

    https://www.luogu.com.cn/record/213578043 这是链接 这是代码: ```cpp #include using namespace std; int ex,cb,promax=-1,ans; double pro[100001]={},down; double k[100001]=…

    回复 0参与人数 1
  13. 发布文章
    P1328

    ## 思路:模拟。 先来看一下输赢对照的表格(甲的得分): |甲(列)乙(行)|0|1|2|3|4| |:-:|:-:|:-:|:-:|:-:|:-:| |0|0|0|1|1|0| |1|1|0|0|1|0| |2|0|1|0|0|1| |3|0|0|1|0|1| |4|1|1|0|0|0| 所以可以定义二维数组: `…

    获赞 0评论 0
  14. 发起讨论
    无法读取字母?

    这是我的代码 ```cpp #include using namespace std; char c,x; int f=1,n=1,num=0,a,b; bool flag; int main() { while(cin>>c) { if(c=='-') { b+=n*f*num; x=0; f=-1; flag=0;…

    回复 0参与人数 1
  15. 发起讨论
    0分!!!

    ```cpp #include using namespace std; char c; char x; int f=0; int num=0,xn=0,a=0; int main() { cin>>x; while(x!='=') { if(isalpha(x)) { xn+=f?a:-a; a=0; c=x; }…

    回复 0参与人数 1
  16. 回复讨论

    在讨论0fen回复:

    ```cpp //代码更新: #include using namespace std; char c; char x; int f=0; int num=0,xn=0,a=0; int main() { cin>>x; while(x!='=') { if(isalpha(x)) { xn+=f?a:-a; a=0;…
  17. 发起讨论
    0fen

    ```cpp #include using namespace std; char c; char x; int f=0; int num=0,xn=0,a=0; int main() { cin>>x; while(x!='=') { if(isalpha(x)) { xn+=f?a:-a; a=0; c=x; }…

    回复 1参与人数 1
  18. 发起讨论
    40分。。。。。。

    ```cpp #include using namespace std; int main() { string s; int x[7]={0,210,210,210,210,210,210},cnt=0; long long ans=0; for(int i=1;i >s; if(s[s.size()-1]=='.'…

    回复 0参与人数 1
  19. 回复讨论

    在讨论求助回复:

    @[MingDynasty](luogu://user/1015347)这不就是题解吗
  20. 回复讨论

    在讨论求助大佬,62分,怎么错了,谢谢你回复:

    ``` c #include int main() { int n; scanf("%d",&n); char s[100000]; scanf("%s",s); int count=0;//原始字符计数 int maxcount=0;//最大的计数 if(n==1) { printf("%d",count); } e…
  21. 回复讨论

    在讨论14'?回复:

    @[ZJ_lzz](luogu://user/1254085)@[gaohongyuan](luogu://user/1374261)谈话请私聊
  22. 回复讨论

    在讨论14'?回复:

    @[ZJ_lzz](luogu://user/1254085)@[gaohongyuan](luogu://user/1374261) 可以不要吵了吗
  23. 回复讨论

    在讨论14'?回复:

    @[ZJ_lzz](luogu://user/1254085)( ̄_, ̄ )
  24. 回复讨论

    在讨论14'?回复:

    @[ZJ_lzz](luogu://user/1254085)本人表示看不懂你的代码。……
  25. 回复讨论

    在讨论14'?回复:

    @[ZJ_lzz](luogu://user/1254085) 这…… ``` cpp #include using namespace std; int f[12][12];//初始 int t[12][12];//结束 int H[12][12];//中转 bool ps(int n)//判断1 { for(int…
  26. 发起讨论
    14'?

    代码如下: ``` cpp #include using namespace std; int f[12][12]; int t[12][12]; int H[12][12]; bool ps(int n) { for(int i=1;i >n; for(int i=1;i >a; for(int j=0;j >a;…

    回复 12参与人数 12
  27. 回复讨论

    在讨论50分 求指导回复:

    题解里的预言实现了
  28. 发起讨论
    再发一次

    ``` cpp #include using namespace std; int f[110]={1,1}; int ans[110]={}; void p() { int k; int s=0; ans[0]=max(ans[0],f[0]); for(k=1;k 0) ans[0]--; } void t(int…

    回复 1参与人数 1
  29. 发起讨论
    75?

    ```cpp #include using namespace std; int f[100000]={1,1}; int ans[100000]={}; void p()//加法 { int k; int s=0; ans[0]=max(ans[0],f[0]); for(k=1;k >x; for(int i=1;…

    回复 0参与人数 1
  30. 回复讨论

    在讨论50分WA回复:

    [Test Result](https://www.luogu.com.cn/record/183648740)