c语言 较为笨重的做法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct Node{ int x; struct Node *nex…… 题解列表 2023年12月11日 0 点赞 0 评论 401 浏览 评分:9.9
自定义函数之字符提取 摘要:解题思路:遍历第一个字符串,用switch case语句筛选出元音储存在第二个数组中注意事项:while行中应该为*p!='\0'而不是p[i]!='\0'参考代码#i…… 题解列表 2023年12月11日 0 点赞 0 评论 365 浏览 评分:0.0
数列(2进制) 摘要:k,N=map(int,input().split())lst=list(str(bin(N)))[::-1]del lst[-2:]f=0;ans=0for i in lst: if i==&…… 题解列表 2023年12月11日 0 点赞 0 评论 413 浏览 评分:0.0
二级C语言-自定义函数(Java代码) 摘要: import java.util.Scanner; public class L1066 { public static void main(String[] args)…… 题解列表 2023年12月11日 0 点赞 0 评论 370 浏览 评分:9.9
2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年12月11日 0 点赞 0 评论 474 浏览 评分:9.9
输出病人正常血压持续的最长时间(python) 摘要:解题思路:思路简单清晰,直接看注释参考代码:n = int(input())blood_pressure_list = [] # 用来存储持续的时间blood_pressure_time = 0 …… 题解列表 2023年12月11日 0 点赞 0 评论 484 浏览 评分:0.0
编写题解 3007: 收费 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a; cin>>a; if…… 题解列表 2023年12月11日 1 点赞 0 评论 415 浏览 评分:10.0
2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年12月11日 0 点赞 0 评论 525 浏览 评分:9.9
冒泡法轻松解开! 摘要:解题思路:先输入前九个元素,然后输入插入元素,再然后使用冒泡法进行整体排序注意事项:参考代码:#include <stdio.h>int main(){ int arr[10]; for (int a…… 题解列表 2023年12月11日 0 点赞 0 评论 339 浏览 评分:9.9
暴力典中典 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 100001int main(){ char str[N]; gets(str); int len…… 题解列表 2023年12月11日 0 点赞 0 评论 397 浏览 评分:0.0