C比较三个字符串字符数组长度(结合冒泡排序) 摘要:#include<stdio.h>#include<string.h>int main(){ char arr[3][1000]; &nb…… 题解列表 2025年10月06日 0 点赞 0 评论 277 浏览 评分:0.0
C++选择排序从小到大 摘要:#include<iostream>using namespace std;int main(){ int arr[10]; int min…… 题解列表 2025年10月06日 0 点赞 0 评论 356 浏览 评分:0.0
利用if语句与while循环 摘要:解题思路:使用if语句将输入为0的特殊情况独立出来,当输入非0时,使用while循环实现运算参考代码:#include<stdio.h>int main(){ i…… 题解列表 2025年10月05日 1 点赞 0 评论 146 浏览 评分:0.0
编写题解 1047: [编程入门]报数问题巨简单 摘要:n = int(input())a = list(range(n))count = 1index = 0while len(a) > 1: if (index > len(a…… 题解列表 2025年10月05日 0 点赞 0 评论 378 浏览 评分:10.0
自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:n=int(input())arr=list(map(int,input().split()))a&n…… 题解列表 2025年10月05日 0 点赞 0 评论 225 浏览 评分:0.0
不用switch-case 摘要:解题思路:或的用法注意事项:参考代码:#include <stdio.h>int main() { int day; scanf(&qu…… 题解列表 2025年10月05日 0 点赞 0 评论 167 浏览 评分:0.0
优先队列实现看病,取消同步流避免超时 摘要:解题思路:优先队列,实现看病案例注意事项:取消同步流,避免超时参考代码://看病 取消同步流,加快速度#include <bits/stdc++.h>using namespace std…… 题解列表 2025年10月04日 0 点赞 0 评论 171 浏览 评分:4.0
冒泡排序(菜鸟记录) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int arr[3]; for(int i=0;…… 题解列表 2025年10月03日 1 点赞 0 评论 407 浏览 评分:6.0
区间dp——记忆化搜索 摘要:参考代码:importjava.util.Scanner;/***@author小张*{@code@…… 题解列表 2025年10月02日 2 点赞 0 评论 246 浏览 评分:6.0
哥德巴赫曾猜测思路简单解 摘要:解题思路:注意事项:参考代码:#include<iostream>#define MAX 32767using namespace std;bool isPrime(int num){&n…… 题解列表 2025年09月29日 0 点赞 0 评论 336 浏览 评分:7.0