编写题解 1169: 绝对值排序—比较简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int n,i,j,a[100]; while(…… 题解列表 2022年11月01日 0 点赞 0 评论 399 浏览 评分:0.0
利用sort巧妙解。 摘要:解题思路: 利用sort解题注意事项: 注意sort的用法参考代码:#include<bits/stdc++.h> using namespace std; typedef struc…… 题解列表 2022年11月01日 0 点赞 0 评论 520 浏览 评分:0.0
Minesweeper(c语言) - 代码很简单, 无需动脑 摘要:一遍写完,没做优化,跟着代码走读就能理解参考代码:#include <stdio.h> void InitBoard(char board[100][100], int row, int col) …… 题解列表 2022年11月01日 0 点赞 0 评论 433 浏览 评分:0.0
纯纯无脑暴力求解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j=1,k=3,l=7,o=9; for (i = 1; i <= 4; i++) { print…… 题解列表 2022年11月01日 0 点赞 0 评论 350 浏览 评分:0.0
利润计算——简单思路 摘要:解题思路:if——else-if——else 语句 ;比较直接。注意事项:注意数字的大小参考代码:#include<stdio.h>int main(){ int x,y; scanf("…… 题解列表 2022年11月01日 0 点赞 0 评论 329 浏览 评分:0.0
敲简单C语言代码!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int sc[10000][5]; int i,t; int n,e,f; scanf …… 题解列表 2022年11月01日 0 点赞 0 评论 359 浏览 评分:0.0
三角形的面积 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double x1,y1,x2,y2,x3,y3,s,a,b,c,z; …… 题解列表 2022年11月01日 0 点赞 0 评论 443 浏览 评分:0.0
定义函数求最小公倍数以及最大公约数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int max(int a,int b) { int r=0; while(a%b!=0) { r=a%b; …… 题解列表 2022年11月01日 0 点赞 0 评论 317 浏览 评分:0.0
编写题解 2927: 二分法求函数的零点 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>double fun(double x){ return pow(x,5)-15*po…… 题解列表 2022年11月01日 0 点赞 0 评论 573 浏览 评分:0.0
[编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ int a[3],i,max; for(i=0;i<3;i+…… 题解列表 2022年11月01日 0 点赞 0 评论 309 浏览 评分:0.0