L

LaserDisc8

#555007

这名用户暂未设置签名。

发帖
6
文章
0
互动
4
陶片
0
获赞
0
收藏
0

历史用户名外显

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

  1. LaserDisc8
    最早追溯到 2025/11/04最后捕获于 2025/11/04
  2. LaserDisc8
    最早追溯到 2023/10/28最后捕获于 2023/10/28

时间线

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

  1. 发起讨论
    看了题解,有一个和我的基本一样但是我有俩红。

    ```c#include int main(){ int n; scanf("%d",&n); int a[n],s; for(int i=1;i a[i+1])s=a[i+1]; printf("%d",s); return 0; }```

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

    在讨论题解回复:

    @[ikunTLE](/user/890515) ?
  3. 发起讨论
    题解

    本题目涉及分数,也就是精度问题,如果把Sn设置成int型,则会丢失数据。代码如下:```cpp ``` #include using namespace std; main(){ int k; double sn=0,n=0; cin>>k; for(;;sn+=1/n){ if(sn>k)break; else n+…

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

    在讨论RE求解!!!!回复:

    @[vandijk](/user/340345) 我大概懂了,看来stl对内存要求比较低.
  5. 回复讨论

    在讨论是数据类型的问题吗?回复:

    @[ly_潘烨](/user/571589) 高精的话数组开太大会炸吧?
  6. 发起讨论
    是数据类型的问题吗?

    第一段,用的unsignedlonglong,然后运行后结果不对。 ```cpp #include"iostream" using namespace std; unsigned long long f(int x){ if(x==0||x==1)return 1; unsigned long long c=1; fo…

    回复 5参与人数 5
  7. 发起讨论
    感觉有些错误,但是不知道怎么改。(请勿抄袭)

    虽然代码AC了,但是总感觉哪里怪怪的。 换成桶排的话感觉和现在也一样。是排序用错了吗? ```cpp #include"iostream" #include"set" using namespace std; int main(){ int a(0),b,n=10,c=0; set o; for(int i=1;i >…

    回复 4参与人数 4
  8. 发起讨论
    RE求解!!!!

    ```cpp #include"iostream" using namespace std; int a[200001],j[100]; int main(){ int n,x; cin>>n; for(int i=1;i >x; a[x]+=1; } for(int i=1;i<=200000;i++) if(a[i…

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

    在讨论有大佬知道为什么这段代码过不去检测吗QAQ回复:

    ```cpp #include using namespace std; int main(){ int in,out,pos,sum,maxi=0; for(int i=0;i >in>>out; sum=in+out; if(sum>maxi){ maxi=in+out; pos=i+1; } } if(maxi<…
  10. 发起讨论
    有大佬知道为什么这段代码过不去检测吗QAQ

    ```cpp #include using namespace std; int main(){ int in,out,pos,sum,maxi=0; for(int i=0;i >in>>out; sum=in+out; if(sum>maxi){ maxi=in+out; pos=i; } } if(maxi<8)…

    回复 5参与人数 5
已经到最早的记录