这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《TLE求助》回复:
@[紬文德斯](/space/show?uid=146985) 我菜qwq 我不会
```cpp #include #include using namespace std; bool vis[500005]; int depth[500005]; int f[500005][25]; int head[500005]; int n,m,k,i,a,b,x,y; int size; struct ed…
在讨论《题目是不是有错?》回复:
@[C201914](/space/show?uid=23908) ```cpp for (i=1; i<=INT_MAX; i++) [C201914](/space/show?uid=23908)_rp--; ```
在讨论《题目是不是有错?》回复:
没人帮助一个弱小,无助的蒟蒻吗?
在讨论《题目是不是有错?》回复:
可我就是不知道为什么我会弄错啊QAQ
在讨论《这道题数据有锅吧》回复:
@[chen_zhe](/space/show?uid=8457)
在讨论《为什么-1mod10等于9,数学渣苟且偷生》回复:
@[zengzihang](/space/show?uid=68014) 谢谢dalao
在讨论《测试数据好像错了》回复:
是不是该@[管理员](/space/show?uid=78611)
如题 第三个测试点如下 ``` 输入 3 5 1 1 0 1 3 1 2 2 1 2 3 0 3 1 1 输出 ਸ਼ ``` 代码 : ``` #include #include using namespace std; int f[105][105],a[105][105]; bool o[105][105]; int…
在讨论《要高精度吗》回复:
......
在讨论《要高精度吗》回复:
@[WA鸭鸭](/space/show?uid=93249) 谢谢,已经A了
比较的时候要用(long long)前缀 ``` 例如: ((long long)a>(long long)b) 或 long long a,b; (a>b) ``` ``` 错误示范 : int a; long long b (a>b) ``` 这就很坑爹 还有:scanf里的那个东西是 "%lld" 而不是 "%d…
期望 8 读入 -1 代码如下 ```cpp #include #include #include using namespace std; int n,m,i,j,x,y; int a[1005][1005]; bool o[1005][1005]; int dx[4]={1,-1,0,0}; int dy[4]={…
在讨论《第一个样例怎么得出来的......》回复:
谢谢dalao
样例 20 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 样例输出 11 10 不应该是 11 2吗 蒟蒻代码 : ```cpp #include #include #include using namespace std; int g,n,i,j,l,k,a[1005]; int…
在讨论《样例的第二行是怎么出来的?》回复:
巧了
在讨论《玄学 MLE》回复:
n=20000时也没爆啊......
这是代码 ```cpp #include #include using namespace std; int n,i; int a[500000]; void work(int n,int i) { if (n==1) cout =1 && n n) i--; n-=a[i]; //cout >" >n; a[0]=1…
在讨论《封禁公告》回复:
@自动AC稽
在讨论《题目什么意思》回复:
**感谢大佬解释**
在讨论《玄学错误......》回复:
#include #include #include using namespace std; int n,i,j,sum,ans,ai,bi,aii,bii; char a,b; string st; int main() { cin>>n; cin>>st; ans=2; for (i=1; i<st.size()…
#include #include #include using namespace std; int n,i,j,sum,ans,ai,bi,aii,bii; char a,b; string st; int main() { cin>>n; cin>>st; ans=2; for (i=1; i<st.size()…
3728ms / 557.19MB ```cpp #include #include using namespace std; int m,n,a,b,i,sum; bool o[10000],s[10000]; int f[10000]; int find_(int a) { if (f[a]==0) return…
在讨论《其实这题挺水的》回复:
+1
在讨论《温馨提示【被坑经验》回复:
啧啧