题目 1065: 二级C语言-最小绝对值 摘要:解题思路:解题思路:输入->判断绝对值大小->利用中间变量调换位置->输出注意事项:交换的时候注意效率参考代码:#include<stdio.h> #include<math.h> int mai…… 题解列表 2021年12月22日 0 点赞 2 评论 1179 浏览 评分:9.9
编写题解 1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct Date{ int year; int month; int day;}time;//设置一个结构体int main(){…… 题解列表 2021年12月22日 0 点赞 0 评论 317 浏览 评分:9.9
c语言巧妙解答(小白) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int sum=1; char b[100]; char a[30][…… 题解列表 2021年12月22日 0 点赞 0 评论 343 浏览 评分:0.0
编写题解 1159: 偶数求和 摘要:解题思路:注意事项:参考代码:while True: try: n,m= map(int,input().split()) ls = [2] …… 题解列表 2021年12月22日 0 点赞 0 评论 346 浏览 评分:0.0
蛇形矩阵c语言巨巨巨巨简单 摘要:#include<stdio.h> int main() { int i,j,N,a[200][200]; scanf("%d",&N); for(i=1;i<=N;…… 题解列表 2021年12月22日 0 点赞 0 评论 379 浏览 评分:0.0
Power Strings超限问题 摘要:解题思路:求解最多循环子串个数可以等效为求解最小循环子串的长度问题,只需要循环遍历子串长度从1到len/2的区间,若有解则输出len/最小子串长度,若无解则最小循环子串长度为len,最多循环子串个数为…… 题解列表 2021年12月22日 0 点赞 0 评论 527 浏览 评分:0.0
1097: 蛇行矩阵(java代码) 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2021年12月22日 0 点赞 0 评论 402 浏览 评分:9.9
JAVA BigIntger类实现大数计算 摘要:解题思路:利用Java语言得BigIntger类计算1977!注意事项:1977!表示 1977得阶乘。参考代码:import java.math.BigInteger; pub…… 题解列表 2021年12月21日 0 点赞 0 评论 408 浏览 评分:0.0
A+B for Input-Output Practice (III)-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int sum,a,b; while( (scanf("%d %d",&a,&b)==2)) …… 题解列表 2021年12月21日 0 点赞 0 评论 447 浏览 评分:0.0
【入门编程】最大公因数与最小公倍数-题解(Python代码0 摘要:解题思路:注意事项:参考代码:a, b = map(int, input().split()) # !!!!!!!!!!!!!!!!max_n = max(a, b)min_n = min(a, …… 题解列表 2021年12月21日 0 点赞 0 评论 364 浏览 评分:0.0