题解列表

筛选

1045 暴力解

摘要:#include<iostream>using namespace std;int s[10];int a,b;int da=0,xiao=10050;int main(void){    for(i……

计算三角形面积

![](/image_editor_upload/20230722/20230722061633_68262.png)```c#include#includeintmain(){doublex1,x2,x3,y1,y2,y3,a,b,c,p,

鸡兔同笼问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a,b;    scanf("%d%d",&a,&b);    printf("%d %d",2*……

2997: 梯形面积

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){    float s = (15+2……

2955: 判决素数个数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long n,m,b,sum=0;int pdsushu(int x){……

2955: 判决素数个数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long sushu(long long x){    if(x<2) ……