二级C语言-求偶数和(简单) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,t; t=0; scanf("%d",&n); for (i=1;i<=n;i++) { …… 题解列表 2022年10月07日 0 点赞 0 评论 277 浏览 评分:6.0
瞎写的\(@^0^@)/专为新手看滴o(* ̄▽ ̄*)ブ 摘要:解题思路:没啥思路注意事项:别打错了参考代码:#include <stdio.h>int main(){ int a; 0<=a<=100; scanf("%d",&a); if(a>=90&&a<=…… 题解列表 2022年10月07日 0 点赞 0 评论 217 浏览 评分:6.0
因子分解(Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.ArrayList; import java.util.List; import java.util.Scanner; pub…… 题解列表 2022年10月07日 0 点赞 0 评论 363 浏览 评分:6.0
萌新也能轻松AC之链表合并 摘要:#不用字典,仅用列表操作完成 ```python N,M = map(int,input().split()) numbers = [] 学号列表1 numbers1 = [] 排序后的学号列…… 题解列表 2022年10月08日 0 点赞 0 评论 305 浏览 评分:6.0
引入第三个一维字符数组 摘要:解题思路: 引入第三个一维字符数组,把两个字符数组的值依次赋值给第三个数组。参考代码:#include<stdio.h> #include<string.h> voi…… 题解列表 2022年10月13日 0 点赞 1 评论 236 浏览 评分:6.0
三目运算求解 摘要:解题思路:这三个数直接用一个语句判断,不需要if,代码简洁。注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a…… 题解列表 2022年10月13日 0 点赞 0 评论 188 浏览 评分:6.0
百钱百鸡问题(C++语言) 摘要:参考代码: #include using namespace std; int main(){ cout…… 题解列表 2022年10月15日 0 点赞 0 评论 306 浏览 评分:6.0
宏定义与指针区别 摘要:解题思路:注意事项:参考代码:指针是访问 而宏定义是机械替换#include<stdio.h>#define swap(a,b){int temp;temp=a;a=b;b=temp}int main…… 题解列表 2022年10月16日 0 点赞 0 评论 382 浏览 评分:6.0
宏定义三角简化 摘要:解题思路:宏定义函数求解注意事项:注意不要超出界限参考代码:#include<stdio.h>#include<math.h>#define a_1(a,b,c) (a+b+c)/2#define s…… 题解列表 2022年10月16日 0 点赞 0 评论 472 浏览 评分:6.0
递归标准题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void f(int i,int x);int s[100]={0}; int s1[100]={0}; //s1[-1]=0; int…… 题解列表 2022年10月19日 0 点赞 0 评论 318 浏览 评分:6.0