交换变量值过程中的顺序,临时变量,被赋值的不同对象 摘要:解题思路:交换变量值过程中的顺序,临时变量,被赋值的不同对象。参考代码:#include<iostream> using namespace std; int main() { int…… 题解列表 2024年12月04日 0 点赞 0 评论 244 浏览 评分:0.0
一组数组不行就两组 摘要:解题思路:注意事项:在自定义函数中在定义一组数组,用于存放原数组中各数组元素后移形成的各数组元素。参考代码:#include<stdio.h>void f(int a[],int n,int m){ …… 题解列表 2024年12月04日 0 点赞 0 评论 418 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[150]; int i,n,m; scanf("%d",&n); scan…… 题解列表 2024年12月04日 0 点赞 0 评论 984 浏览 评分:0.0
1119简单if循环 摘要:解题思路:把数学公式理解就好了注意事项:参考代码:#include<stdio.h>#include<math.h>#define P(x) pow(x,3)int main(){ int a,b,c…… 题解列表 2024年12月04日 0 点赞 0 评论 295 浏览 评分:0.0
c语言代码详细 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int a,b,c,n; scanf ("%d",&n); …… 题解列表 2024年12月04日 1 点赞 0 评论 511 浏览 评分:0.0
c语言代码详细 摘要:解题思路:注意事项:参考代码:int main (){ int a,b,c,d; scanf ("%d",&d); a=d/100; b=d/10%10; c=d%10;…… 题解列表 2024年12月04日 0 点赞 0 评论 231 浏览 评分:0.0
c语言代码详细 摘要:解题思路:注意事项:参考代码:int fun (int n){ if(n<=4) return n; else return fun(n-1)+fun(n-3);}int m…… 题解列表 2024年12月04日 3 点赞 0 评论 990 浏览 评分:0.0
新手等差数列末项计算 摘要:解题思路:通过首项和第二项的差算出公差,代入等差数列公式即可注意事项:a为首项,b为第二项,n为第n项,s为等差数列计算结果参考代码#include<stdio.h>int main(){ in…… 题解列表 2024年12月04日 0 点赞 0 评论 390 浏览 评分:0.0
新手 晶晶赴会 摘要:解题思路:简单判断邀约的星期是否为偶数注意事项:参考代码#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a%2==0) …… 题解列表 2024年12月04日 1 点赞 0 评论 256 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:class Date: def __init__(self): self.__year = 0 self.__mon…… 题解列表 2024年12月04日 0 点赞 0 评论 529 浏览 评分:0.0