慕贤而容众,毁方而瓦合||AFO
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp line-numbers #include using namespace std; string s;int l,k;char op; struct frac{ int num,den; }a[3]; inline int read() { int n=0,f=1; char ch=getchar();…
```cpp line-numbers #include using namespace std; int n,k,max_d,ans,a[300005]; inline int read() { int n=0,f=1; char ch=getchar(); while(!isdigit(ch)) { if(ch==…
```cpp line-numbers #include using namespace std; int n,Q,order[8005]; struct node{ int inx,value; }a[8005]; inline int read() { int n=0,f=1; char ch=getchar();…
在讨论《0pts 马风良好 求条》回复:
@[dangerous_DZR](luogu://user/800482)谢谢,我知道了
在讨论《0pts 马风良好 求条》回复:
@[dangerous_DZR](luogu://user/800482)在```cpp后面加上line-numbers(应该要有空格
在讨论《0pts 马风良好 求条》回复:
@[dangerous_DZR](luogu://user/800482)没事没事,大家都有犯错的时候,人之常情
在讨论《0pts 马风良好 求条》回复:
@[dangerous_DZR](luogu://user/800482) ```cpp line-numbers #include using namespace std; string s,a;int n,ans; inline bool check(string s) { if(s.size()!=3) retu…
在讨论《0pts 马风良好 求条》回复:
@[dangerous_DZR](luogu://user/800482)刚刚受我好友指点,把getline改成cin就AC了
在讨论《0pts 马风良好 求条》回复:
@[dangerous_DZR](luogu://user/800482)你的意思是说?
```cpp #include using namespace std; string s,a;int n,ans; inline bool check(string s) { if(s.size()!=3) return 0; int ans=0; for(int i=0;i >n; for(int i=0;i =0…
### 背景 2025年10月5日下午,本蒟蒻漫不经心地写着语文试卷(**话说这语文怎么这么烦!**),一边写作业一边在草稿本上随意地画着网格图案......等等???这是什么?难道是......? ------------ ### 主题 最小单位矩形 定义:一个矩形,它的边除了端点无其他点,内部无直线,即一个“不可再…
在文章《题解:P13679 [IAMOI R2] 传奇模数》发表评论:
为什么还要加1
### 既约多项式(只讨论 $有理数集\mathbb{Q}$ 的既约多项式) ------------ 代数基本定理:$在复数集内,每一个x的(不是常数的)多项式至少有一个根.即对于多项式 f(x)=a_nx^n+a_{n-1}x^{n-1}+…+a_1x+a_0( n 是正整数),一定有复数c使得 f(c)=0 $.…
```cpp #include #define maxn 310 using namespace std; int m,Ans=100000,ans[maxn][maxn],death[maxn][maxn],d[4][2]={{0,1},{1,0},{-1,0},{0,-1}};//ans[i][j]表示第i行第j列…
在讨论《代码求调,能告知错误原因最好》回复:
@[xuzimeng](luogu://user/1418436)@[ncws](luogu://user/1174964)是数组越界的原因,谢谢能获得你们的指导
在讨论《代码求调,能告知错误原因最好》回复:
谢谢大佬,orz
哪位神犇能解释一下为什么在Dev-C++里运行时结果正确,在IDE模式中却输出了ans初始化的值,提交后也是全WA ```cpp #include using namespace std; int x,y,z,a,ans=pow(2,31)-1,dp[20010]; int main() { ios::sync_wit…
在讨论《测试点全RE,求调》回复:
@[cath20](luogu://user/931919)谢谢啊,改了之后过了
在讨论《测试点全RE,求调》回复:
@[cath20](luogu://user/931919)改之后的 ```cpp #include using namespace std; const int mod1=20123; int n,m,sum,a[10005][105],x; bool f[10005][105]; int main() { ios:…
在讨论《测试点全RE,求调》回复:
```cpp #include using namespace std; const int mod1=20123,N=1e6+5; int n,m,sum,a[N],x; bool f[N]; int main() { ios::sync_with_stdio(0); cin.tie(0); cin>>n>>m; f…
在讨论《测试点全RE,求调》回复:
@[cath20](luogu://user/931919)5个WA,5个TLE
在讨论《测试点全RE,求调》回复:
@[cath20](luogu://user/931919)改成1e6+5依然RE
在讨论《测试点全RE,求调》回复:
@[cath20](luogu://user/931919)等一下
在讨论《测试点全RE,求调》回复:
@[cath20](luogu://user/931919)会超吗
```cpp #include using namespace std; const int mod1=20123,N=200000000; int n,m,sum,a[N],x; bool f[N]; int main() { ios::sync_with_stdio(0); cin.tie(0); cin>>n>>…
```cpp #include using namespace std; int t,n,m,k,x,y,d,ans; char s[1005][1005]; int main() { ios::sync_with_stdio(0); cin.tie(0); cin>>t; for(int i=1;i >n>>m>>k…
```cpp #include using namespace std; struct apple{ int x,y; }z[5005]; bool cmp_1(apple &a,apple &b) { return a.x >n>>s>>a>>b; for(int i=1;i >z[i].x>>z[i].y; sor…
```cpp #include using namespace std; int main() { int n,z,yx; double x,y; cin>>n; cin>>z>>yx; x=yx*1.0/z; for(int i=1;i >z>>yx; y=yx*1.0/z; if((y-x)*1.0>5*1.0/1…
```cpp #include using namespace std; int main() { int a1,a2,n; cin>>a1>>a2>>n; cout<<(2-n)*a1+(n-1)*a2; return 0; } ```