Java题解:计算2的N次方 摘要:解题思路: 开高精BigInteger 打了个快速幂 参考代码:import java.math.BigInteger; import java.util.Scanner; public cl…… 题解列表 2022年11月29日 0 点赞 0 评论 875 浏览 评分:9.9
3023: 移动路线(递归算法) 摘要:解题思路:递归加记忆化搜索 ```cpp #include using namespace std; #define ll long long int ll route[100][100] …… 题解列表 2022年11月29日 1 点赞 0 评论 714 浏览 评分:9.9
最简单 三个字符串的排序 摘要:解题思路:巧cpy用strcmp ,strcpy注意事项:三个数比较大小会吧strcmp(a,b) 当 a=b 返回为0 当a>b返回一个正整数当a<b返回一个负整数会用吧strcpy也会吧…… 题解列表 2022年11月29日 0 点赞 0 评论 288 浏览 评分:9.9
Sn公式求和(C代码) 摘要:#有注释,运用一个pow函数 #include #include int main(void) { int n = 0, sum1 = 0, s…… 题解列表 2022年11月29日 0 点赞 0 评论 425 浏览 评分:9.9
2787: 有一门课不及格的学生 摘要:解题思路:注意事项:参考代码:import sysa , b = map(int,input().strip().split())if a < 0 or a > 100 or b < 0 or b >…… 题解列表 2022年11月29日 0 点赞 2 评论 677 浏览 评分:9.9
C语言训练-8除不尽的数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,s1,s2,m1,m2,a; for(i=1;i<100000;i++){ i…… 题解列表 2022年11月29日 0 点赞 0 评论 498 浏览 评分:9.9
Java 题解 模拟 摘要:解题思路: 直接跟着题意模拟就行了 参考代码:import java.io.BufferedReader; import java.io.IOException; import java.io.I…… 题解列表 2022年11月30日 0 点赞 0 评论 348 浏览 评分:9.9
1184: 众数问题 摘要:```cpp #include #include using namespace std; int main() { int n,a,b=1,max=1; cin>>n;…… 题解列表 2022年11月30日 0 点赞 0 评论 551 浏览 评分:9.9
1186: 倒杨辉三角形 摘要:```cpp #include #include using namespace std; int dp[11][100]; int main() { int index; …… 题解列表 2022年11月30日 0 点赞 0 评论 486 浏览 评分:9.9
2921: 整数奇偶排序 摘要:```cpp #include using namespace std; int main() { int odd[10],even[10],num,i,j,l=0,r=0; …… 题解列表 2022年11月30日 0 点赞 0 评论 408 浏览 评分:9.9