回文串 (C语言代码) 摘要:#include<stdio.h> #include<string.h> int main(){ char str[255]; while(gets(str)){ …… 题解列表 2018年10月13日 0 点赞 0 评论 1442 浏览 评分:0.0
哥德巴赫曾猜测 (C语言代码) 摘要:#include<stdio.h> int isPrime(int num){ int flag = 1; for(int i = 2; i < num / 2; i++){ …… 题解列表 2018年10月13日 0 点赞 0 评论 1626 浏览 评分:0.0
Mark11:散列法(hashTable) 摘要:/* ** 核心是这部分: for(int j = 0; j < 6; j++){   题解列表 2018年10月13日 1 点赞 0 评论 1626 浏览 评分:0.0
Mark11:continue——跳出 摘要:/* ** 本题中的双斜杠注释有两种情况 ** 1.自成一段:这是要全部删去的,且不能留下一个空行 ** 2.接在一行代码后:则需删去“//”后的所有字符及其自身 ** 第一种情况,使用了contin…… 题解列表 2018年10月13日 1 点赞 2 评论 866 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ printf("************************\nHolle World\n**…… 题解列表 2018年10月13日 0 点赞 0 评论 1078 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a,d; while(~scanf("%d%d",&a,&b)); pr…… 题解列表 2018年10月13日 0 点赞 0 评论 844 浏览 评分:0.0
A+B for Input-Output Practice (I) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d%d",&a,&b)==2) { …… 题解列表 2018年10月13日 0 点赞 0 评论 946 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int fun1(int a,int b){ int c; c=a%b; …… 题解列表 2018年10月13日 0 点赞 0 评论 1085 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int fun1(int n){ int a; a=n%10; return …… 题解列表 2018年10月13日 0 点赞 0 评论 1247 浏览 评分:0.0
A+B for Input-Output Practice (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d%d",&a,&b)==2) { …… 题解列表 2018年10月13日 0 点赞 0 评论 1119 浏览 评分:0.0