题解列表
超级超级简单的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 ……
编写题解 1018: [编程入门]有规律的数列求和
摘要:解题思路: 后一项的分子为前一项分子分母的和,后一项的分母为前一项的分子,让他们循环相加。注意事项:参考代码:#include <stdio.h>int main(){ int n; f……
1094这样写更简单,C++
摘要:解题思路: 一边接收输入一边接收输出注意事项:用getchar()来吸收输入n之后的回车参考代码:#include<iostream>#include<vector>using namespace s……