07 2024 档案

摘要:排序一下就ok了 #include<stdio.h> #include<string.h> #include<algorithm> using namespace std; char s[30]; struct node { int x; int y; }a[105]; int cmp(node a 阅读全文
posted @ 2024-07-19 00:35 XiaohuangTX 阅读(3) 评论(0) 推荐(0) 编辑
摘要:/* 题意:给n 求满足i*j+i+j=n(0<i<=j)方案数 思路:xy+x+y=n (x+1)(y+1)=x*y+x+y+1=n+1; 即求n+1的因子对数 参考:https://blog.csdn.net/Puppettt/article/details/83030925?ops_reque 阅读全文
posted @ 2024-07-14 21:54 XiaohuangTX 阅读(4) 评论(0) 推荐(0) 编辑