姓名排序 (C++代码) 摘要:解题思路:简单理解通俗易懂注意事项:参考代码:#include <iostream> #include <algorithm> using namespace std; int m,n; in…… 题解列表 2018年07月22日 2 点赞 0 评论 1242 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.10 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>main(){int i,n=1,m;printf("请输入第几天想吃剩下一个:");scanf("%d",&m);for(i=1;…… 题解列表 2018年07月22日 1 点赞 0 评论 715 浏览 评分:0.0
Minesweeper (C++代码) 摘要:解题思路:参考代码:#include<bits/stdc++.h> using namespace std; int high, width; char Map[103][103]; …… 题解列表 2018年07月22日 0 点赞 0 评论 646 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.7 (通过指针来传递数组信息) 摘要:解题思路:通过指针来传递数组信息。注意事项:注意char*q=temp;因为最后指针temp已经移到最后一位,所以必须要首先保存好他的首地址。参考代码:void fun(char *temp, cha…… 题解列表 2018年07月22日 0 点赞 0 评论 881 浏览 评分:0.0
可AC(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, m, i, s, sum = 0; scanf("%d", &n); i = 1; while (…… 题解列表 2018年07月22日 0 点赞 0 评论 836 浏览 评分:0.0
可AC(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, min = 0; while (scanf("%d", &n) != EOF) { if (n)…… 题解列表 2018年07月22日 0 点赞 0 评论 823 浏览 评分:0.0
可AC (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char str[80]; int i; while (gets(str)!=NULL) { i = 0; …… 题解列表 2018年07月22日 0 点赞 0 评论 802 浏览 评分:0.0
A+B for Input-Output Practice (I) (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] arg…… 题解列表 2018年07月22日 0 点赞 0 评论 645 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题4.9 (C语言代码) 摘要:解题思路:一定要先判断是浮点数,定义float或是double;注意事项:要求是保留小数点两位,%0.2f或是%.2f或是%0.2lf或是%.2lf;还有c=5(f-32)/9要写成c=5*(f-32…… 题解列表 2018年07月22日 1 点赞 0 评论 686 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void total(char s[]){ int i,number=0,word=0,blank=0,other=0; for(i=0…… 题解列表 2018年07月23日 0 点赞 0 评论 616 浏览 评分:0.0