C语言训练-尼科彻斯定理 Python!! 摘要:解题思路:注意事项:参考代码:def oushu(c): d = 0 d = c ** 2 e = int(c/2) f = int((e*2)-1) print("{}…… 题解列表 2022年01月10日 0 点赞 0 评论 278 浏览 评分:0.0
他装的是散货!-快乐司机 摘要:解题思路: 贪心+单位价值排序注意事项:他装的是散货!他装的是散货!他装的是散货!参考代码:#include#includeusing namespace std; struct huo{ …… 题解列表 2022年01月10日 0 点赞 0 评论 738 浏览 评分:9.9
蓝桥杯算法提高VIP-数组输出(C语言代码) 摘要:解题思路:输入 后进行挨个比较注意事项:(1)注意题目却绝对值(2)输出的是绝对值(3)避免第一个数的绝对值最大 给mn赋值问题参考代码:#include<stdio.h>#include<math.…… 题解列表 2022年01月10日 0 点赞 0 评论 290 浏览 评分:0.0
双重for循环进行求解 摘要:解题思路:定义一个空的字符串进行储存每次筛选出的素数,运用双重for循环进行筛选注意事项:参考代码:public class Main1 { public static void main(Str…… 题解列表 2022年01月10日 0 点赞 0 评论 444 浏览 评分:0.0
瞧一瞧看一看简单易懂童叟无欺-纪念品分组 摘要:参考代码: #include<bits/stdc++.h> using namespace std; int w,n,ans=0; int a[30005]; int main(){ …… 题解列表 2022年01月10日 0 点赞 2 评论 197 浏览 评分:7.3
蛇行矩阵编程 (Java代码) 摘要:import java.util.Scanner; public class Main { public static void main(String[] args) { Scan…… 题解列表 2022年01月10日 0 点赞 0 评论 687 浏览 评分:9.9
蛇形矩阵 C语言代码 摘要:解题思路:注意事项:参考代码:#include<memory.h>#include<stdio.h>int main(){ int a[100][100]; int n; scanf("%d",&n)…… 题解列表 2022年01月10日 0 点赞 0 评论 287 浏览 评分:0.0
算法也太难了吧-防御力 摘要:参考代码:#include using namespace std; struct nodea{ int id,w; } a[100005];struct nodeb{ …… 题解列表 2022年01月09日 0 点赞 0 评论 489 浏览 评分:9.9
1210: 小明A+B(取余) 摘要:解题思路:对于小于100的数,对100取余得它本身对于大于100的数,对100取余得后两位参考代码:#include <stdio.h> int main() { int i; in…… 题解列表 2022年01月09日 0 点赞 0 评论 510 浏览 评分:9.9
自定义函数之字符串拷贝(JAVA) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2022年01月09日 0 点赞 0 评论 266 浏览 评分:0.0