问题 1476: 蓝桥杯基础练习VIP-龟兔赛跑预测//答案错误,不知道错在哪里 摘要:#include <iostream>using namespace std;int main(){ int v1,v2,s,t,l; cin>>v1>>v2>>s>>t>>l; i…… 文章列表 2018年03月30日 0 点赞 0 评论 1389 浏览 评分:0.0
求1!+2!...N!,请各位大神帮我看看我这个代码哪里错了? 摘要:#include<stdio.h>int x=1;int main(){ long fab(int a); int a; long sum; scanf("%d",&a); …… 文章列表 2018年03月30日 1 点赞 5 评论 321 浏览 评分:0.0
让我来告诉你们错在哪里 摘要:一开始我的代码是这样的:#include<stdio.h>int main(){ int n,i; int s=1,sn=0; scanf("%d",&n); if(n>0&&n<=20) { for…… 文章列表 2018年03月31日 0 点赞 0 评论 1277 浏览 评分:0.0
1022 摘要:#include<stdio.h> int main() { int a,b, c,N; scanf("%d",&N); for(c=2;c<=N;c++) { b=0; …… 文章列表 2018年04月01日 0 点赞 0 评论 1151 浏览 评分:0.0
1002 摘要:#include<stdio.h> int main() { int a,b, c; scanf("%d%d%d",&a,&b,&c); if(a>b) { if(a>…… 文章列表 2018年04月01日 0 点赞 0 评论 1023 浏览 评分:0.0
问题1095:3n + 1问题(解决一直提交不上问题) 摘要:首先就是先把这个题给读懂,否则就不要去敲代码,否则就是浪费时间, 问题描述和分析:该题就是你输入两个数,然后找其中的数,如果%2==0,就/2,否则就是*3+1,一直持续到该数为1结束, …… 文章列表 2018年04月07日 3 点赞 0 评论 1265 浏览 评分:0.0
1116 摘要:1116#include<stdio.h>#include<stdlib.h>#include<string.h>int check(char x[]){ int i,j=0,k=0; c…… 文章列表 2018年04月08日 11 点赞 0 评论 937 浏览 评分:0.0
写一函数,将两个字符串连接 摘要:#include<stdio.h>#include<string.h>int main(){char str1[100],str2[100];gets(str1);gets(str2);strcat(…… 文章列表 2018年04月10日 3 点赞 0 评论 1592 浏览 评分:0.0
1.6 摘要:#include<stdio.h>bijiao(int a,int b,int c);int main(void){ int a,b,c; printf("请输入三个整数:"); scanf("%d%…… 文章列表 2018年04月10日 1 点赞 2 评论 245 浏览 评分:0.0
L1106奖学金问题 摘要: 这个题的大概意思就是找前五名发奖学金,但是有前提,这五名的排名是按照这样的规则的,就是总分最高的排在最前面,,而总分一样的则看语文成绩,谁的语文成绩高些则谁的排名靠前,而总分一样的并且…… 文章列表 2018年04月14日 4 点赞 0 评论 1244 浏览 评分:0.0