题解列表
Pascal三角--C语言
摘要:解题思路:注意事项:参考代码:int main(){ int PASCAL[100][100] = { 0 }; int i, j,Length_space,row; scanf("%d", &row……
不用分类讨论c语言解决大神老白
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ int n,i,a[100],s; while((scanf("%d",&n……
编写题解 1034: [编程入门]自定义函数之数字分离,有比较细节的地方
摘要:解题思路:利用for循环注意事项:直接用input函数不用外面嵌套int,这也是这个题应该注意的地方参考代码:def q():#直接用q带过了 a = input()#直接便利了字符串,而外面有……
ceil函数解邮资问题
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main() { int x,N; char c; scanf("%d ……
2009: 第一个带类的C++程序
摘要:```cpp
#include
using namespace std;
class Clock {
public:
int Set() {
cin >> year >> mo……
编写题解 2837: 年龄与疾病
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int jibing(int A[100],float n){ int i; float w,x,y,z; for(i=0;i<n;……
编写题解 1022: [编程入门]筛选N以内的素数
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,k; scanf("%d",&n); for(i=1;i<=n;i++) { k=0; ……