筛排处理 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*; import java.math.*; public class Main{ public static void ma…… 题解列表 2018年10月26日 0 点赞 0 评论 866 浏览 评分:0.0
矩阵转置 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*; import java.math.*; public class Main{ public static void ma…… 题解列表 2018年10月26日 0 点赞 0 评论 901 浏览 评分:0.0
杨辉三角 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*; import java.math.*; public class Main{ public static void ma…… 题解列表 2018年10月26日 0 点赞 0 评论 587 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:全写一起,省了一点注意事项:参考代码:#include<stdio.h>int main(){ char c1,c2,c3,c4,c5; scanf("%c %c %c …… 题解列表 2018年10月26日 0 点赞 0 评论 535 浏览 评分:0.0
汽水瓶 (C语言代码) 摘要:解题思路: 这可以归结为一个数n的求商和求余的问题。商是能换酒喝的瓶数(设为a),余数是不够换的空瓶数(设为b)。每次换酒后,空瓶数n等于a+b,然后n重新对3求商和求余,并设酒瓶数t对a…… 题解列表 2018年10月27日 0 点赞 0 评论 527 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:参考代码:#include <stdio.h>int main(){ int a,b,c; int max; a=60;b=20;c=30; (a>b?(max=a)…… 题解列表 2018年10月27日 0 点赞 0 评论 453 浏览 评分:0.0
素数回文 (C语言代码) 摘要:#include "stdafx.h"#include "math.h"int fun(int n){ int j, k = 0,a[100],flag=0; do { a[k++] = n % 1…… 题解列表 2018年10月27日 0 点赞 0 评论 541 浏览 评分:0.0
IP判断 (C++描述、正则表达式社会写法,不过貌似不支持) 摘要:解题思路:注意事项:娱乐一下就好,过不了的参考代码:#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <regex> …… 题解列表 2018年10月27日 0 点赞 0 评论 623 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.3 (C语言代码) 摘要:解题思路:主要就是三个变量,sn记录相加之后的和,num记录每次新加的值注意事项:变量申请后初始化,不然程序运行判错参考代码: int n,sn,…… 题解列表 2018年10月27日 0 点赞 0 评论 486 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.5 (C语言代码) 摘要:解题思路:suma可以直接公式计算注意事项:注意精度细节参考代码: int a,b,c; scanf("%d %d %d",&a,&b,&c); int suma=0,sum…… 题解列表 2018年10月27日 0 点赞 0 评论 759 浏览 评分:0.0