Hifipsysta-1164-数组的距离(C++代码)建立一个距离矩阵很简单 摘要:```cpp #include #include #include using namespace std; const int max_idx=1000; int arr_x[max…… 题解列表 2022年02月05日 0 点赞 0 评论 340 浏览 评分:0.0
Hifipsysta-1173-计算球体积(C++代码) 摘要:```cpp #include #include using namespace std; float compute_volume(float r){ return (4.0/…… 题解列表 2022年02月05日 0 点赞 0 评论 334 浏览 评分:0.0
Hifipsysta-1159-偶数求和(C++代码)最后不足m的要查漏补缺 摘要: ```cpp #include #include #include using namespace std; const int max_len=100; float arr[ma…… 题解列表 2022年02月05日 0 点赞 0 评论 267 浏览 评分:0.0
Hifipsysta-1180-不容易系列(C++代码)递归法 摘要:```cpp #include using namespace std; int a_(int n){ if(n==0){ return 3; } …… 题解列表 2022年02月05日 0 点赞 0 评论 397 浏览 评分:0.0
杨辉三角(相当于一个矩阵的下三角,利用矩阵的知识就可以了) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int num[30][30] = { 1 }; int main(){ int n;…… 题解列表 2022年02月05日 0 点赞 0 评论 275 浏览 评分:0.0
做题记录2022.2.5(ac:100%) 摘要:解题思路:总交换次数最少->每个位置交换次数最少->找到离不同字母位置最近的相同字母注意事项:参考代码:length = int(input()) list1 = list(input().stri…… 题解列表 2022年02月05日 0 点赞 0 评论 470 浏览 评分:0.0
Hifipsysta-1160题-出圈(C++代码)基于STL的链表实现 摘要:```cpp #include #include using namespace std; list mylist; list::iterator iter; int main()…… 题解列表 2022年02月05日 0 点赞 0 评论 391 浏览 评分:0.0
(c语言) 演讲大赛评分 摘要:```c //思路:将第一个分数与后六个分数的输入分开处理,就能使用“!=EOF ”来作为结束标志了 //注意:输出名字后记得加空格 //ps:本来想把输入部分放在自己定义的函数里进行(就这个形…… 题解列表 2022年02月05日 0 点赞 0 评论 577 浏览 评分:0.0
【露离】单行代码,编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:def main(): print(input()+input())main()…… 题解列表 2022年02月05日 0 点赞 0 评论 357 浏览 评分:0.0
【露离】一行代码 摘要:解题思路:注意事项:参考代码:def main(): print(' '.join(list(input())))main()…… 题解列表 2022年02月05日 0 点赞 0 评论 325 浏览 评分:0.0