C语言程序设计教程(第三版)课后习题9.10 (C++代码) 摘要:解题思路:看代码应该可以看懂的,判断是否是最后一个字母,是的话减25。注意事项: 格式化输出 %c参考代码:#include <iostream>#include <stdio.h>using nam…… 题解列表 2018年08月11日 0 点赞 0 评论 866 浏览 评分:0.0
P1027 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int r,c; scanf("%d %d", &r, &c); int a[r][c], i, j, su…… 题解列表 2018年08月11日 0 点赞 0 评论 824 浏览 评分:9.9
【亲和数】 (C++代码) 摘要:解题思路:定义一个判断亲和数的函数注意事项:参考代码:#include<iostream>using namespace std;bool qinhe(int a, int b){ int s1 = …… 题解列表 2018年08月11日 0 点赞 0 评论 1480 浏览 评分:7.1
C语言程序设计教程(第三版)课后习题9.6 (C++代码) 摘要:解题思路:双重循环,第二个循环判断是否大于等于1然后输出空格。注意事项:参考代码:#include <iostream>#include <stdio.h>using namespace std;in…… 题解列表 2018年08月11日 0 点赞 0 评论 581 浏览 评分:0.0
数据结构-采用十字链表存储的稀疏矩阵 (C语言代码) 摘要:参考代码:#include<stdio.h> #include<malloc.h> typedef struct node { int i, j; int data; struct…… 题解列表 2018年08月11日 4 点赞 0 评论 1859 浏览 评分:9.2
C语言程序设计教程(第三版)课后习题1.6 (Java代码) 摘要:解题思路:注意事项:参考代码:public class Main(){ public static void main(String[ ] args){ Scanner sc=ne…… 题解列表 2018年08月11日 0 点赞 0 评论 702 浏览 评分:0.0
回文串 (Java代码) 摘要:解题思路:1.将字符串变成字符数组 2.外面写一个if else来判断字符数组的个数,偶数进入if 奇数进入else 3.两个里面只要满足前后对应位置的字符相同,num++。否则输出…… 题解列表 2018年08月10日 1 点赞 0 评论 1007 浏览 评分:0.0
C语言训练-计算1977!* (C++代码) 摘要:解题思路:千万不要看这个啊,这是错误的解题思路注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout << "44885501…… 题解列表 2018年08月10日 0 点赞 0 评论 1053 浏览 评分:2.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d,%d",&a,&b); printf("%d\n",a+b); retur…… 题解列表 2018年08月10日 0 点赞 0 评论 585 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.6 (C语言代码) 摘要:解题思路:注意事项:if括号里面的判断条件 应该用双等于符号 一个等于是赋值的意思 参考代码:#include<stdio.h>int main(){ int i,a,b,c; for(i=10…… 题解列表 2018年08月10日 0 点赞 0 评论 602 浏览 评分:0.0