1290: 奶牛的锻炼 摘要:```cpp #include #include using namespace std; const int N=10500,M=550; int dp[N][M],d[N],n,m; …… 题解列表 2023年04月15日 0 点赞 0 评论 482 浏览 评分:8.7
1289: N的-2进制表示 摘要:```cpp #include using namespace std; int main() { int i=0,num; char str[128]={'\0',};…… 题解列表 2023年04月15日 0 点赞 0 评论 243 浏览 评分:9.9
1288: 线段的总长 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; long long s[n],…… 题解列表 2023年04月15日 0 点赞 0 评论 309 浏览 评分:9.9
1287: 最大质因数 摘要:```cpp #include using namespace std; bool fun(int x) { int y; for(y=x-1;y>1;y--) …… 题解列表 2023年04月15日 0 点赞 0 评论 326 浏览 评分:9.9
1286: 最大配对 摘要:```cpp #include #include using namespace std; const int N=1e5+10; int a[N],b[N]; int main() {…… 题解列表 2023年04月15日 0 点赞 0 评论 372 浏览 评分:9.9
1285: 阶乘末尾的K位 摘要:```cpp #include #include using namespace std; long long jiecheng(int n) { long long sum=1;…… 题解列表 2023年04月15日 0 点赞 0 评论 301 浏览 评分:9.9
1284: 冗余关系 摘要:```cpp #include using namespace std; int pre[1001],sum; int find(int x) { int r=x; wh…… 题解列表 2023年04月15日 0 点赞 0 评论 454 浏览 评分:9.9
1282: 公交汽车 摘要:```cpp #include #define MAX 101 #define INF 50001 #define A_JOURNEY 10 using namespace std; in…… 题解列表 2023年04月15日 0 点赞 0 评论 308 浏览 评分:9.9
2838: 有趣的跳跃 摘要:解题思路:抛砖引玉,欢迎讨论。用最笨的办法,完成题目注意事项:如果水平足够可以直接写代码,如果水平不够就慢慢来,把思路捋清楚,一步一步做测试,最终把代码完成参考代码:#include <iostrea…… 题解列表 2023年04月15日 0 点赞 0 评论 383 浏览 评分:0.0
2834: 与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int main(){ //输入第一行 int n; cin>>n;…… 题解列表 2023年04月14日 0 点赞 0 评论 244 浏览 评分:0.0