题解列表
矩形面积交(简单易学C语言版)
摘要:### 解题思路:
- 简单来想该题图形分为有相交面积和无相交面积
- 该题难处在于判断是否相交
######不相交的情况如图所示:
{ double xa, xb,……
2775: 等差数列末项计算
摘要:解题思路:注意事项:b比a大所以先写b,最后加a。参考代码:#include <iostream>using namespace std;int main(){ int a,b,n; ci……
1012字符串分类统计
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){char c;int letters=0,space=0,dight=0,other=0;while((c=ge……