1999: 回文判断 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll fanzhuan(ll x){ …… 题解列表 2024年07月10日 0 点赞 0 评论 136 浏览 评分:0.0
题解 1157: 亲和数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll a[100000],b[10000…… 题解列表 2024年07月10日 0 点赞 0 评论 124 浏览 评分:0.0
1157: 亲和数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll qinhe(ll x){ l…… 题解列表 2024年07月10日 0 点赞 0 评论 183 浏览 评分:0.0
题目 1072: 汽水瓶,C++实现,超级简单 摘要:##题目 1072: 汽水瓶,C++实现,超级简单 ######原题链接[题目 1072: 汽水瓶](https://www.dotcpp.com/oj/problem1072.html "题目 1…… 题解列表 2024年07月10日 0 点赞 0 评论 224 浏览 评分:0.0
编写题解 1134: C语言训练-求PI* 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { double sum=0; char b=1; long long s=1; for(…… 题解列表 2024年07月10日 0 点赞 0 评论 257 浏览 评分:0.0
趣味儿童与人格不好 摘要:解题思路:无注意事项:无参考代码:b=input()b=int(b)e=0for i in range(2,b): if b%i==0: e=1 breakif e=…… 题解列表 2024年07月11日 0 点赞 0 评论 144 浏览 评分:0.0
1171蟠桃记(两个while循环) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; while (cin >> n) { int m = …… 题解列表 2024年07月11日 0 点赞 0 评论 505 浏览 评分:0.0
1172计算两点间的距离(sqrt和pow综合运用) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ double x1, y1, x2, y…… 题解列表 2024年07月11日 0 点赞 0 评论 253 浏览 评分:0.0
1170能量项链(dp动态规划) 摘要:解题思路:看到最大值,就想到最优解,想到最优解就想到动态规划。将大问题分成一个个小问题来看。先求两个球能得到的能量,再求三个球时,四个球时,第一步,要得到两个球的能量,我们就需要三个数,这是第一层循环…… 题解列表 2024年07月11日 0 点赞 0 评论 369 浏览 评分:0.0
用VS来写链表求和 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>#include <malloc.h>typedef struct _n…… 题解列表 2024年07月11日 0 点赞 0 评论 136 浏览 评分:0.0