回文数字 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int is_right(int m,int n){ int a[6]={0}; int t=…… 题解列表 2017年08月01日 0 点赞 0 评论 1606 浏览 评分:0.0
P1001 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;const int M=10000;int a[M]={…… 题解列表 2017年08月01日 0 点赞 0 评论 1089 浏览 评分:6.0
分糖果 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int is_right(int *s,int n){ int m=s[0]; for(int…… 题解列表 2017年08月01日 0 点赞 0 评论 1325 浏览 评分:9.9
C语言训练-求矩阵的两对角线上的元素之和 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>int main(){ int n; scanf("%d",&n); int i[11][11]; for(in…… 题解列表 2017年08月01日 0 点赞 0 评论 1200 浏览 评分:9.3
C语言程序设计教程(第三版)课后习题9.3 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>#include <cmath>#define S(a,b,c) q=(a+b+c)/2.0;int main(){ int a,…… 题解列表 2017年08月01日 0 点赞 0 评论 1241 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.8 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>#define charge(a,b){int t= a;a=b;b=t;}//宏定义交换函数int main(){ int a,…… 题解列表 2017年07月31日 0 点赞 0 评论 946 浏览 评分:7.3
Lucky Word (C++代码) 摘要:解题思路:统计并判断(max-min)差是否为质数质素依旧打表注意事项:字母不存在的不算hhh参考代码:#include <stdio.h> int main() { int ch; …… 题解列表 2017年07月30日 2 点赞 0 评论 1362 浏览 评分:6.3
拆分位数 (C++代码)用char简单粗暴,嗯 摘要:解题思路:用char简单粗暴,嗯注意事项:参考代码:#include <stdio.h> int main() { char a, b, c; while (scanf("%…… 题解列表 2017年07月30日 4 点赞 4 评论 1370 浏览 评分:9.3
求圆的面积 (C++代码)这里推荐使用宏定义 摘要:解题思路:这里推荐使用宏定义#define PI 3.14159注意事项:两位小数参考代码:#include <stdio.h> #define PI 3.14159 int main()…… 题解列表 2017年07月30日 1 点赞 0 评论 2464 浏览 评分:2.0
C语言程序设计教程(第三版)课后习题6.7 (C++代码)(经常这样写会不会被打死) 摘要:解题思路:完全数好像真的很少,,6,28,496,8128,33550336,,目测只会考前四个,,,剩下的估计正常算1s之内跑不完程序,,所以无脑直接输出啊hhhhhhh注意事项:出乎意料的,,竟然…… 题解列表 2017年07月30日 57 点赞 40 评论 3244 浏览 评分:6.4