题解列表
注意‘'x"要大写
摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int h,l,i,z,y; int d;const int n;const int j;int *p=&j;……
1226题解——贪心
摘要:解题思路:分奇偶两种情况考虑。注意事项:参考代码:#include <stdio.h>
#include <iostream>
using namespace std;
int gc……
自定义函数求一元二次方程,非常简单的做法
摘要:参考代码:#include<iostream> #include<math.h>using namespace std;int main(){ double a,b,c; double x1,x2,x……
成绩评定用if的方法
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x; scanf("%d",&x); if(x>=90) printf("A\n"); else if……
丢掉大脑!无脑分糖果!
摘要:解题思路:把糖果数目放到列表里,用最大值最小值判断是否全部相等注意事项:参考代码:n = int(input())list0 = list(map(int,input().split()))sum =……
1050: [编程入门]结构体之成绩记录c语言
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or ……
[编程入门]利润计算注意前面的计算要进行叠加,,,
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j; scanf("%d",&i); if(i<=100000) j=0.1*i; if(i……