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