1047: [编程入门]报数问题 摘要:```c#include int main() { int n,m,i=0,j=1; scanf("%d",&n); int arr[n]; for(int i…… 题解列表 2025年03月17日 4 点赞 0 评论 966 浏览 评分:10.0
1772: [编程入门]二进制移位练习 摘要:```c#includeint main() { int a; scanf("%d",&a); printf("%d",(a>>4)&15); re…… 题解列表 2025年03月18日 1 点赞 0 评论 499 浏览 评分:10.0
1773: [编程入门]C语言循环移位 摘要:```c#includeint main() { unsigned int a,n,sum=0,tem=1; scanf("%u%u",&a,&n); for…… 题解列表 2025年03月18日 1 点赞 0 评论 581 浏览 评分:10.0
自定义函数之通用位移题解,简单易懂,无需循环 摘要:**解题思路:** 其他人的题解我也看过一些,但我认为他们写的大部分都太复杂了。这道题其实很简单,注意审题就好,和 [[编程入门]C语言循环移位](https://www.d…… 题解列表 2025年03月19日 2 点赞 0 评论 686 浏览 评分:10.0
数学方法-推公式--------- 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;const int N = 1010;int a[N], b[N];int mai…… 题解列表 2025年03月19日 0 点赞 0 评论 764 浏览 评分:10.0
1776: [编程入门]原码求补码 摘要:```c#includeint main() { char arr[16]; scanf("%s",arr); if(arr[0]=='1'){ for…… 题解列表 2025年03月19日 1 点赞 0 评论 491 浏览 评分:10.0
数学方法-推公式--------- 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; &nb…… 题解列表 2025年03月19日 0 点赞 0 评论 775 浏览 评分:10.0
查找特定的值,正确率百分百,C语言通俗易懂!!! 摘要:#includeint main(){ int n,m,arr[100000],k=0; scanf("%d",&n); for(int i=0;i…… 题解列表 2025年03月19日 1 点赞 0 评论 495 浏览 评分:10.0
最大值和最小值的差,包清楚的c语言。 摘要:…… 题解列表 2025年03月20日 4 点赞 0 评论 487 浏览 评分:10.0
换一种思路来写用set中upper_bound()函数 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <set>using namespace std;typedef long long ll…… 题解列表 2025年03月20日 1 点赞 0 评论 740 浏览 评分:10.0