新手等差数列末项计算 摘要:解题思路:通过首项和第二项的差算出公差,代入等差数列公式即可注意事项:a为首项,b为第二项,n为第n项,s为等差数列计算结果参考代码#include<stdio.h>int main(){ in…… 题解列表 2024年12月04日 0 点赞 0 评论 198 浏览 评分:0.0
新手 晶晶赴会 摘要:解题思路:简单判断邀约的星期是否为偶数注意事项:参考代码#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a%2==0) …… 题解列表 2024年12月04日 0 点赞 0 评论 164 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:class Date: def __init__(self): self.__year = 0 self.__mon…… 题解列表 2024年12月04日 0 点赞 0 评论 437 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; class Date { private String year,month,day; pub…… 题解列表 2024年12月04日 2 点赞 0 评论 463 浏览 评分:0.0
三元组输入,用二维数组输出 摘要:解题思路:1.输入时非0元素直接记录到三元组中2.创建一个二维数组保存输出数组3.遍历三元组,对行列下标进行交换,放进二维数组中输出注意事项:1.二维数组的初始大小为,C*R,C变成二维数组的行数,R…… 题解列表 2024年12月04日 0 点赞 0 评论 159 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int b,bjg = 0,yx = 0,hx = 0; scanf("%d…… 题解列表 2024年12月04日 0 点赞 0 评论 486 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int b; for (b = 100;b<1000;b++) { if…… 题解列表 2024年12月04日 0 点赞 0 评论 370 浏览 评分:0.0
数据结构-Big Bang 字符串暴力硬解!!! 摘要:解题思路: 喜欢暴力 嘿嘿嘿 !注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义全局变量,用于存…… 题解列表 2024年12月04日 0 点赞 0 评论 135 浏览 评分:0.0
利用最小公约数求最大公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gony(int m,int n){ int r; if(m==n) return m; else while((r=m%n…… 题解列表 2024年12月04日 0 点赞 0 评论 189 浏览 评分:0.0
1121: C语言训练-8除不尽的数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int b =1,a,c,d,f,g; while(b++){ d =b/8; f = d/8; if (…… 题解列表 2024年12月04日 2 点赞 0 评论 374 浏览 评分:0.0