这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《VScode如何输入EOF?》回复:
@[lzyqwq](/user/539211) 直接cmd运行的话win下是可以用ctrl+z(linux应该也行?)
在讨论《noipt4的官方数据水吗》回复:
@[ChengZe](/user/110694) LG36分,CCF8分……
在讨论《AFOer集合帖》回复:
考完退役
在讨论《求找错》回复:
好了找出来了
```cpp #include using namespace std; const int MAXN=3007; const int INF=1e9; int Read(); void add_edge(int u,int v,int w); struct Edge{ int u,v,w,nxt; }e[2*MAXN…
样例不过……后面放上40分的单向宽搜代码(双向很多都是套用于此) ```cpp #include using namespace std; const int n=12; int stt,det; const int MAXN=(1 >jud,rjud; int cha[20][10]; int Read(); voi…
在讨论《c++ 数组名与数组下标的写法》回复:
@[UnyieldingTrilobite](/user/250637) 谢谢
```cpp #include using namespace std; int a[5]={1,2,3,4,5}; int main(){ if(a[1]==1[a])cout<<1<<"\n";else cout<<2<<"\n"; if(a[5-1]==(5-1)[a])cout<<1<<"\n";else co…
题源:[CSPS2021T3回文](https://www.luogu.com.cn/problem/P7915) battle.exe为调用程序。test为爆搜程序。make_data为数据生成程序。 想要输出自己造的数据。但是如果battle像这么写,system("pause")不能发挥作用(程序直接继续运行)。…
在讨论《实在不知道错在哪里,求助》回复:
@[rochcim](/user/532067) 有不懂的再问我
在讨论《实在不知道错在哪里,求助》回复:
```cpp #include #include #include using namespace std; int main () { int a, b, cnt = 0, holder=0; long long sum = 0; string c, rem[10001]; cin >> a >> c >> b; f…
照着lyd的板子敲都敲不对。。。 ```cpp #include using namespace std; const int INF=0x7fffffff; struct Treap{ int l,r; int val,dat; int cnt,siz; }t[100007]; int tot,root,n; int…
在讨论《95pts求助》回复:
好了我知道这个做法是假的了
按题意分成两次找。第一次时,若有多种可能,记录所有情况,然后分别找第二次最大值,最后比较。 在找最大值时,看成函数的形式,将四种情况加起来算。对于特殊的对角线情况则特判。 求指出代码错误或是指出思路问题。 ```cpp #include using namespace std; int Read(); int n; i…
本机可以运行,牛客可以运行,JSOJ也可以运行 但是在洛谷评测RE,洛谷IDE上运行结果不对 ```cpp #include using namespace std; int Read(); void add_edge(int u,int v,int w); int n,m,q; struct pre_edge{ in…
求助,为什么会在洛谷里RE? ```cpp #include using namespace std; int Read(); void add_edge(int u,int v,int w); int n,m,q; struct pre_edge{ int to,from; int w; }pre_e[300005]…
在讨论《tarjan 在某些数据中会输出0》回复:
不用再看了
在讨论《tarjan 在某些数据中会输出0》回复:
求助,谢谢
```cpp #include using namespace std; int Read(); void add_edge(int u,int v); int n,m,s; struct Edge{ int nxt; int to; }e[1000007]; int h[500007],e_cnt; int fa[5…
在讨论《加上关闭同步就会出问题》回复:
@[Krystallos](/user/124683) 谢谢
在讨论《加上关闭同步就会出问题》回复:
@[Krystallos](/user/124683) 啊?我以前一直以为只是 cin 和 scanf 那些不能混用
```cpp #include using namespace std; int n,m; struct SegementTree{ int l,r; long long sum; int p; }t[400007]; long long a[100007]; void pushup(int id){ t[id].su…
在讨论《一个组合数式子求化简》回复:
@[小粉兔](/user/10703) 谢谢
$\sum\limits_{k=1}^{n}(k\cdot\sum\limits_{j=1}^{k}\sum\limits_{i=0}^{n-1}(C_{i}^{k-j} \cdot C_{n-i-1}^{j-1}))$ 其中,n为输入值
在讨论《艹,一个神奇的事情》回复:
@[面向大海](/user/39146) 我去年是OJ过了,CCF没过。。。爆零可快乐了
在讨论《求NOIP2018提高组初赛第七题的严谨做法》回复:
@[chinaxjh](/user/136542) 谢谢
在讨论《求NOIP2018提高组初赛第七题的严谨做法》回复:
@[BeanGame_II](/user/334756) @[guojize](/user/380863) @[LCuter](/user/83547) 谢谢
在讨论《求NOIP2018提高组初赛第七题的严谨做法》回复:
~~我还要先学会微积分~~
在讨论《求NOIP2018提高组初赛第七题的严谨做法》回复:
@[试试事实上吗](/user/199750) @[Alpha](/user/87058) @[yywxdgy](/user/59163) 谢谢