题解列表

筛选

和为给定数--二分

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int a[100001];int main(){ in……

猴子吃桃的问题

摘要:#include <stdio.h> int main(){ int T,N,i,sum=1; scanf("%d",&N); for(i=1;i<N;i++){ sum=(sum……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    float k,p,profit,money=0.0,sum_profit=0.0;    int n; ……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    char str[101];    gets(str);    str[strlen(str)] = &#……

蛇行矩阵(简简单单)

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){   int n;   cin>>……

温度转换入门小白求法

摘要: ###### #根据题目我们可以知道要求为 ---- 将温度进行转换 温度转换公式为 c=5(F-32)/9,取位2小数。 这是题目要求 输入一个华氏温度,要求输出摄氏温度。且温度要取……