字符串排序用库函数strcmp 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define N 100int main(){ c…… 题解列表 2025年03月18日 1 点赞 0 评论 551 浏览 评分:0.0
2792: 三角形判断 摘要:#include<stdio.h>//函数用于判断三条边能否构成三角形intcan_form_triangle(inta,&nb…… 题解列表 2025年03月18日 0 点赞 0 评论 178 浏览 评分:0.0
1774: [编程入门]C语言之二进制位问题 摘要:```c#includeint main() { unsigned int value,n1,n2,a=1,b=1; scanf("%u%u%u",&value,&n1…… 题解列表 2025年03月18日 0 点赞 0 评论 362 浏览 评分:0.0
1775: [编程入门]自定义函数之通用位移 摘要:```c#includeunsigned int move(unsigned value,unsigned n){ unsigned sum=0; unsigned int a=1…… 题解列表 2025年03月19日 0 点赞 0 评论 256 浏览 评分:0.0
数学方法-推公式--------- 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;const int N = 1010;int a[N], b[N];int mai…… 题解列表 2025年03月19日 0 点赞 0 评论 306 浏览 评分:0.0
1776: [编程入门]原码求补码 摘要:```c#includeint main() { char arr[16]; scanf("%s",arr); if(arr[0]=='1'){ for…… 题解列表 2025年03月19日 0 点赞 0 评论 155 浏览 评分:0.0
数学方法-推公式--------- 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double m, n;&nbs…… 题解列表 2025年03月19日 0 点赞 0 评论 318 浏览 评分:0.0
数学方法-推公式--------- 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; &nb…… 题解列表 2025年03月19日 0 点赞 0 评论 272 浏览 评分:0.0
模拟------------------------------------------------- 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; &nb…… 题解列表 2025年03月19日 1 点赞 0 评论 331 浏览 评分:0.0
c++dfs全排列解决该问题 摘要:#include<bits/stdc++.h>usingnamespacestd;intres=0;floata[15];f…… 题解列表 2025年03月19日 0 点赞 0 评论 149 浏览 评分:0.0