题解列表
3051: 登山 有点难这还是入门题吗?
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
int main(){
// 定义变量n表示数组长度,a、b、c为……
灭有感情,全是for//和数学题解//(C语言
摘要:解题思路:for的自增设定注意事项:注释那里可直接代替前个for参考代码:#include<stdio.h>int main(){ int a,b,c,i; float sum1=0,sum2=0,s……
超级超级简单的1124
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char p[100]; scanf("%s",p); for(int i=0;p[i]!='\0……
利用数学思维和for循环来解答,清晰明了
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,h; double S=0,s,H; scanf("%d",&h); H=h……
送分了........
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b; double c=0; scanf("%d ……
编写题解 1099: 校门外的树C++
摘要:```cpp
#include
/*
文件头可以随便,我喜欢万能头,这里也可以(注意有memset函数,要用cstring库):
#include
#include
*/
using ……