数学方法-推公式--------- 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double m, n;&nbs…… 题解列表 2025年03月19日 0 点赞 0 评论 297 浏览 评分:0.0
1776: [编程入门]原码求补码 摘要:```c#includeint main() { char arr[16]; scanf("%s",arr); if(arr[0]=='1'){ for…… 题解列表 2025年03月19日 0 点赞 0 评论 141 浏览 评分:0.0
数学方法-推公式--------- 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;const int N = 1010;int a[N], b[N];int mai…… 题解列表 2025年03月19日 0 点赞 0 评论 289 浏览 评分:0.0
1775: [编程入门]自定义函数之通用位移 摘要:```c#includeunsigned int move(unsigned value,unsigned n){ unsigned sum=0; unsigned int a=1…… 题解列表 2025年03月19日 0 点赞 0 评论 233 浏览 评分:0.0
自定义函数之通用位移题解,简单易懂,无需循环 摘要:**解题思路:** 其他人的题解我也看过一些,但我认为他们写的大部分都太复杂了。这道题其实很简单,注意审题就好,和 [[编程入门]C语言循环移位](https://www.d…… 题解列表 2025年03月19日 2 点赞 0 评论 241 浏览 评分:10.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 评论 320 浏览 评分:0.0
2792: 三角形判断 摘要:#include<stdio.h>//函数用于判断三条边能否构成三角形intcan_form_triangle(inta,&nb…… 题解列表 2025年03月18日 0 点赞 0 评论 162 浏览 评分:0.0
字符串排序用库函数strcmp 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define N 100int main(){ c…… 题解列表 2025年03月18日 1 点赞 0 评论 497 浏览 评分:0.0
找完数(C) 摘要:解题思路:先判断完数,再找因子,程序虽然时间上不是最短,但是思路简单注意事项:参考代码:#include<stdio.h>int Isright(int n);int main(){&nb…… 题解列表 2025年03月18日 3 点赞 0 评论 610 浏览 评分:0.0
1773: [编程入门]C语言循环移位 摘要:```c#includeint main() { unsigned int a,n,sum=0,tem=1; scanf("%u%u",&a,&n); for…… 题解列表 2025年03月18日 0 点赞 0 评论 177 浏览 评分:0.0