A+B for Input-Output Practice (V) (C语言代码) 摘要:#include <stdio.h> int main() { int a,m,sum,n; /*n定义几行,m定义算几个数;*/ scanf("%d",&n); while(n…… 题解列表 2017年11月28日 3 点赞 0 评论 1002 浏览 评分:0.0
A+B for Input-Output Practice (VI) (C语言代码) 摘要:#include <stdio.h> int main() { int a,m,sum,n; while(scanf("%d",&n)!=EOF) { sum=0; …… 题解列表 2017年11月28日 1 点赞 0 评论 814 浏览 评分:0.0
汪汪与打针 (C++代码) 摘要:大家注意最多只能打4针,而且题目问的是能按时打针的次数,所以要注意#include<iostream> using namespace std; int main() { int a,b; …… 题解列表 2017年11月28日 2 点赞 0 评论 1629 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题5.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; scanf("%d",&a); if (a<1) { b =…… 题解列表 2017年11月28日 0 点赞 0 评论 917 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,t=0,k,n,i=0,aa[5]; scanf("%d",&a); k=a; …… 题解列表 2017年11月28日 0 点赞 0 评论 717 浏览 评分:0.0
A+B for Input-Output Practice (I) (C语言代码) 摘要:解题思路:1 输入两个数据2 求和3 输出注意事项:注意数据类型和转换说明符的对应参考代码:#include<stdio.h>int main(){ int a,b; printf("input tw…… 题解列表 2017年11月29日 1 点赞 0 评论 781 浏览 评分:0.0
小九九 (C语言代码) 摘要:#include<stdio.h> int main() { int i,j; for(i=1;i<=9;i++) { for(j=1;j<=i;j++) printf("…… 题解列表 2017年11月29日 1 点赞 1 评论 762 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:定义变量,然后scanf输入,然后输出中计算结果注意事项: 输入空格隔开,回车结束参考代码:#include <stdio.h>void main(){ int a,b;…… 题解列表 2017年11月29日 0 点赞 0 评论 765 浏览 评分:0.0
【金明的预算方案】 (C语言代码) 摘要:解题思路:#include <stdio.h> //基因突变版背包问题 "人人为我"递推dp 变量名都太长了··· #define max(x,y) x>y?x:y struc…… 题解列表 2017年11月29日 0 点赞 0 评论 2000 浏览 评分:0.0
优质题解 Manchester-蛇行矩阵,不需要数组,四个变量,解决问题 摘要:解题思路:(1)1 3 6 10 15 1+(2)-->3+(3)-->6+(4)-->10+(5)-->15 (dtax) (2)2 5 9 14 …… 题解列表 2017年11月29日 75 点赞 14 评论 6318 浏览 评分:9.0