题解列表

筛选

敲简单C语言代码!!!

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){   int a[100][100];   a[0][0]=1;   int n;   scanf ("%d",&……

自定义函数之字符串连接

摘要:解题思路:定义三个数组,两个数组存放输入的数组,最后一个数组存放最终的数组注意事项:利用string函数库中strlen函数计算出个数组中的元素个数参考代码:# include <stdio.h># ……

利用sort巧妙解。

摘要:解题思路:    利用sort解题注意事项:    注意sort的用法参考代码:#include<bits/stdc++.h> using namespace std; typedef struc……

纯纯无脑暴力求解

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j=1,k=3,l=7,o=9; for (i = 1; i <= 4; i++) { print……

利润计算——简单思路

摘要:解题思路:if——else-if——else 语句 ;比较直接。注意事项:注意数字的大小参考代码:#include<stdio.h>int main(){    int x,y;    scanf("……

敲简单C语言代码!!!

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int sc[10000][5];    int i,t;    int n,e,f;    scanf ……

三角形的面积

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){    double x1,y1,x2,y2,x3,y3,s,a,b,c,z;  ……