新手代码,非常容易理解 (C++代码) 摘要:#include"bits/stdc++.h" using namespace std; int main() { int v1,v2,t,s,l; cin>>v1>>v2>>t>>s>…… 题解列表 2018年06月14日 2 点赞 0 评论 1148 浏览 评分:0.0
蓝桥杯算法提高VIP-输出正反三角形 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n,m; cin>>n>>m; for…… 题解列表 2018年06月13日 0 点赞 0 评论 579 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:输入m和n,从m开始到n,依次判定是否为素数,若是,累加求和注意事项:注意当i<2时的情况参考代码:#include<stdio.h>int isprime(int x) …… 题解列表 2018年06月13日 0 点赞 0 评论 834 浏览 评分:0.0
蓝桥杯算法提高VIP-输出九九乘法表 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a[9]; for(int i=1;i<=…… 题解列表 2018年06月13日 0 点赞 0 评论 1000 浏览 评分:0.0
蓝桥杯算法提高VIP-输入输出格式练习 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> using namespace std; int main() { int a; …… 题解列表 2018年06月13日 0 点赞 0 评论 971 浏览 评分:0.0
蓝桥杯算法提高VIP-Pascal三角 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int in,i=0,j=0,kn,t[100][100]={0}; printf("请输入阶数\n"); s…… 题解列表 2018年06月13日 0 点赞 0 评论 751 浏览 评分:0.0
蓝桥杯基础练习VIP-时间转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int t; int h=0,m=0,s=0,hleave; printf("请输入一个整数t\n"); sc…… 题解列表 2018年06月13日 0 点赞 0 评论 655 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>//基本是用栈;栈q放最原始输入的字符串包含空格 栈qhelp是输出的时候将栈q内的单词再调换顺序负负得正的意思struct sqs…… 题解列表 2018年06月13日 0 点赞 0 评论 1021 浏览 评分:0.0
Hello, world! (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ char c; int a[100],i=0; int j;do{ scanf("%d",&a[i]); …… 题解列表 2018年06月13日 0 点赞 0 评论 709 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int a, b; while( scanf("%d%d",&a,&b)==2 ) { p…… 题解列表 2018年06月13日 0 点赞 0 评论 704 浏览 评分:0.0