三元组输入,用二维数组输出 摘要:解题思路:1.输入时非0元素直接记录到三元组中2.创建一个二维数组保存输出数组3.遍历三元组,对行列下标进行交换,放进二维数组中输出注意事项:1.二维数组的初始大小为,C*R,C变成二维数组的行数,R…… 题解列表 2024年12月04日 0 点赞 0 评论 320 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; class Date { private String year,month,day; pub…… 题解列表 2024年12月04日 3 点赞 0 评论 653 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:class Date: def __init__(self): self.__year = 0 self.__mon…… 题解列表 2024年12月04日 0 点赞 0 评论 547 浏览 评分:0.0
新手 晶晶赴会 摘要:解题思路:简单判断邀约的星期是否为偶数注意事项:参考代码#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a%2==0) …… 题解列表 2024年12月04日 1 点赞 0 评论 269 浏览 评分:0.0
新手等差数列末项计算 摘要:解题思路:通过首项和第二项的差算出公差,代入等差数列公式即可注意事项:a为首项,b为第二项,n为第n项,s为等差数列计算结果参考代码#include<stdio.h>int main(){ in…… 题解列表 2024年12月04日 0 点赞 0 评论 411 浏览 评分:0.0
使用方法嵌套来解决此问题 摘要:解题思路:注意事项:参考代码:public static void main(String []args){ int num1,num2,num3; int max; Scanner…… 题解列表 2024年12月04日 1 点赞 0 评论 1476 浏览 评分:10.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 评论 1013 浏览 评分:0.0
最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int m, n; scanf("%d %d", &m, &n); …… 题解列表 2024年12月04日 10 点赞 0 评论 2140 浏览 评分:10.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 评论 256 浏览 评分:0.0
c语言代码详细 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int a,b,c,n; scanf ("%d",&n); …… 题解列表 2024年12月04日 1 点赞 0 评论 543 浏览 评分:0.0