C语言程序设计教程(第三版)课后习题6.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char sum[100]; int i,j=0,k=0,m=0…… 题解列表 2017年12月19日 0 点赞 0 评论 745 浏览 评分:0.0
Hello, world! (C++代码) 摘要:解题思路:注意事项:样例输出有毒,让我第一时间没有反应过来。参考代码:#include <iostream>#include<stdio.h>using namespace std;int main(…… 题解列表 2017年12月19日 0 点赞 1 评论 726 浏览 评分:0.0
【偶数求和】 (C语言代码) 摘要:解题思路:循环n次,每M次取平均数。N%M取剩余数,求剩余平均数。注意事项:参考代码:#include<stdio.h>int main(){ int n,m; while(scanf("%d %d"…… 题解列表 2017年12月19日 0 点赞 0 评论 1008 浏览 评分:0.0
WU-川哥的吩咐 (C++代码) 摘要:这题要用字符串来写了额 但是处理起来比较麻烦 要处理好进位的问题 我的思路是先把进位算出来 再加到字符里面 为了防止数据溢出原有的位数 我还在两个加数的末尾加了个‘0’ 注意事项: …… 题解列表 2017年12月19日 6 点赞 0 评论 1757 浏览 评分:2.0
我美吗! 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int n,a[100],i,other=0,j,num; scanf("%d",&n); …… 题解列表 2017年12月19日 0 点赞 0 评论 724 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#define N 100int main(){int a,b;printf("please input 2 numbers:\n")…… 题解列表 2017年12月19日 0 点赞 0 评论 689 浏览 评分:0.0
我美吗! 摘要:注意事项:参考代码:#include <stdio.h> int main() { int n,a[10],max,i; while(scanf("%d",&n)!=EOF) { …… 题解列表 2017年12月19日 2 点赞 0 评论 1024 浏览 评分:0.0
我美吗! 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int a[1000],n,i,j,money; while(scanf("%d",&n)!=…… 题解列表 2017年12月19日 1 点赞 3 评论 1321 浏览 评分:7.3
WU-蓝桥杯算法提高VIP-多项式输出 (C++代码) 摘要:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int n; cin>>…… 题解列表 2017年12月19日 1 点赞 1 评论 761 浏览 评分:9.3
C二级辅导-进制转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int x; scanf("%d",&x); printf("%o",x)…… 题解列表 2017年12月19日 13 点赞 1 评论 1893 浏览 评分:8.0