发工资咯 (C语言代码) 摘要:解题思路:定义一个数组,存放每一种人民币是多少元,然后按最大开始拆分,直到工资为0结束当前工资的拆分。参考代码:#include <stdio.h> int main() { int mo…… 题解列表 2018年10月26日 0 点赞 0 评论 840 浏览 评分:0.0
震宇大神的杀毒软件 (C语言代码) 摘要:#include "stdafx.h"#include "math.h"void sort(int n, int a[]){ int i, j,t; for(i=1;i<n;i++) for (j …… 题解列表 2018年10月26日 0 点赞 0 评论 588 浏览 评分:0.0
筛排处理 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*; import java.math.*; public class Main{ public static void ma…… 题解列表 2018年10月26日 0 点赞 0 评论 686 浏览 评分:0.0
矩阵转置 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*; import java.math.*; public class Main{ public static void ma…… 题解列表 2018年10月26日 0 点赞 0 评论 695 浏览 评分:0.0
杨辉三角 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*; import java.math.*; public class Main{ public static void ma…… 题解列表 2018年10月26日 0 点赞 0 评论 509 浏览 评分: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 评论 472 浏览 评分:0.0
汽水瓶 (C语言代码) 摘要:解题思路: 这可以归结为一个数n的求商和求余的问题。商是能换酒喝的瓶数(设为a),余数是不够换的空瓶数(设为b)。每次换酒后,空瓶数n等于a+b,然后n重新对3求商和求余,并设酒瓶数t对a…… 题解列表 2018年10月27日 0 点赞 0 评论 459 浏览 评分: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 评论 388 浏览 评分: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 评论 505 浏览 评分:0.0
IP判断 (C++描述、正则表达式社会写法,不过貌似不支持) 摘要:解题思路:注意事项:娱乐一下就好,过不了的参考代码:#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <regex> …… 题解列表 2018年10月27日 0 点赞 0 评论 557 浏览 评分:0.0