留住了塔没留住她:[竞赛入门]简单的a+b 摘要:解题思路: 我们可以定义两个变量a和b 由于题目输入数据数量不限所以我们要用while(cin>>a>>b) cout就是输出,(a+b)就是求a+b的和 …… 题解列表 2023年04月27日 0 点赞 0 评论 659 浏览 评分:9.9
1001: [编程入门]第一个HelloWorld程序 摘要:解题思路:这道题非常的简单呢,这道题是直接输出。注意事项:是直接输出,不需用cin。我们要注意上下要有“**************************”。也要用到cout来输出。要有换行参考代码…… 题解列表 2023年04月27日 0 点赞 1 评论 532 浏览 评分:9.9
留住了塔没留住她:[编程入门]第一个HelloWorld程序 摘要:题目描述: 学习了输出语句,请参照例题,编写一个程序,输出以下信息: ************************** Hello World! …… 题解列表 2023年04月27日 0 点赞 1 评论 657 浏览 评分:9.9
1006: [编程入门]三个数找最大值 摘要:解题思路:这道题更简单,只是单纯的找最大值;注意事项:是最大值,不是最小值参考代码:#include<bits/stdc++.h> using namespace std; int a[100],…… 题解列表 2023年04月27日 0 点赞 0 评论 649 浏览 评分:9.9
奖学金(c语言代码) 解题思路:像正常排序一样,只不过这道题判断大小分多钟情况,只需要在判断大小的函数上稍加修改就可以了。使用库函数qsort跑不过,所以自己写了一个。```c#include#includetypedefstructstu{intstunmber;intscore[3];}stu;intcompare(c 题解列表 2023年04月27日 0 点赞 3 评论 1165 浏览 评分:9.9
[编程入门]完数的判断 ```c#include#includeintFind(intn,intarr[]){memset(arr,0,sizeof(int)*200);arr[0]=1;intsum=0,j=1;for(inti=2;i 题解列表 2023年04月27日 0 点赞 0 评论 635 浏览 评分:9.9 计算鞍点计算鞍点计算鞍点计算鞍点 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,m=0,n=0,t=0; int a[100][100],b[50],c[50]; for(i=…… 题解列表 2023年04月28日 0 点赞 0 评论 764 浏览 评分:9.9 留住了塔没留住她:[编程入门]三个数最大值 摘要:解题思路: 学过C++都知道,C++有一个函数叫做“max( 变量A , 变量B );”它可以让我们得出变量A 变量B的最大值 所以我们可以使用这个函数。注意事项: 注意:不管你学了…… 题解列表 2023年04月28日 0 点赞 2 评论 946 浏览 评分:9.9 去掉空格(c语言代码) ```c#include#includevoidremoveblank(char*s);intmain(){charstrs[101]={0};while(gets(strs)){removeblank(strs);//去除空格puts(strs);//输出}return0;}voidremovebl 题解列表 2023年04月28日 0 点赞 0 评论 583 浏览 评分:9.9 字符串最大跨距 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class 字符串最大跨距 { public static void main(String[] a…… 题解列表 2023年04月28日 0 点赞 0 评论 623 浏览 评分:9.9 « 12...5447544854495450545154525453...59245925 »
计算鞍点计算鞍点计算鞍点计算鞍点 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,m=0,n=0,t=0; int a[100][100],b[50],c[50]; for(i=…… 题解列表 2023年04月28日 0 点赞 0 评论 764 浏览 评分:9.9
留住了塔没留住她:[编程入门]三个数最大值 摘要:解题思路: 学过C++都知道,C++有一个函数叫做“max( 变量A , 变量B );”它可以让我们得出变量A 变量B的最大值 所以我们可以使用这个函数。注意事项: 注意:不管你学了…… 题解列表 2023年04月28日 0 点赞 2 评论 946 浏览 评分:9.9
去掉空格(c语言代码) ```c#include#includevoidremoveblank(char*s);intmain(){charstrs[101]={0};while(gets(strs)){removeblank(strs);//去除空格puts(strs);//输出}return0;}voidremovebl 题解列表 2023年04月28日 0 点赞 0 评论 583 浏览 评分:9.9
字符串最大跨距 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class 字符串最大跨距 { public static void main(String[] a…… 题解列表 2023年04月28日 0 点赞 0 评论 623 浏览 评分:9.9