字符串的输入输出处理 (C语言代码) 摘要:解题思路:直接简单的字符串输入输出注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int n,j; scanf("%d",&n); c…… 题解列表 2017年12月16日 0 点赞 0 评论 690 浏览 评分:0.0
明明的随机数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[101],i,j,t,count=0; scanf("%d",&n); …… 题解列表 2017年12月16日 0 点赞 0 评论 680 浏览 评分:0.0
WU-A+B for Input-Output Practice (VII) (C语言代码) 摘要:参考代码:#include<stdio.h> int main() { int a,b,i=0; while(scanf("%d%d",&a,&b)) { i++; if(…… 题解列表 2017年12月16日 1 点赞 0 评论 893 浏览 评分:0.0
IP判断 (C语言代码)指针是个好东西 摘要:解题思路:考虑错误的情况,将条件分为大前提小前提,对于不满足大前提或满足大前提不满足小前提的输出N并且终止,能走到最后的就是正确的IP参考代码 #include <stdio.h> int mai…… 题解列表 2017年12月16日 0 点赞 0 评论 909 浏览 评分:0.0
拆分位数--循环结构 摘要:解题思路:用循环结构注意事项:3位数(i<3)参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int num,i,a[3],j=1; …… 题解列表 2017年12月16日 0 点赞 0 评论 724 浏览 评分:0.0
我美吗! 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> int main() { int a[100],n,sum; while(scan…… 题解列表 2017年12月16日 1 点赞 0 评论 1033 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.1 (C语言代码) 摘要:为什么不行???参考代码:#include <iostream>using namespace std;int gcd(int x , int y){ if(!y)return x; re…… 题解列表 2017年12月16日 0 点赞 0 评论 832 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.4 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*;public class Main1030 { public static void main(String[] args) { …… 题解列表 2017年12月16日 0 点赞 0 评论 844 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>#include <string.h>void f(char s[],char b[]){ i…… 题解列表 2017年12月16日 0 点赞 0 评论 720 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>#include <string.h>int main(){ char s[80]; i…… 题解列表 2017年12月16日 0 点赞 0 评论 764 浏览 评分:0.0