题解列表
整数奇偶排序(c语言)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int swap(int* a,int* b){ int temp=*a; *a=*b; *b=temp;}i……
2772: 苹果和虫子
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double n,x,y; cin>>n>>x……
2774: 计算三角形面积
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x1,y1,x2,y2,x3,y3,a……
题解 2922:合影效果(看我看我,易懂)
摘要:```c
#include
#include
#include
typedef struct people
{
char sex[7];
float height;
}stu;……
编写题解 2997: 梯形面积
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double e; e=150*2/15*(15……
题解 2921: 整数奇偶排序
摘要:```c
#include
int main()
{
int arr1[100],arr2[100],arr[100];//arr1存奇数,arr2存偶数
for (int i = ……
2759: 打印字符
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; cout<<(char)a;……
题解 2917: 奇数单增序列(看过来)
摘要:```c
#include
#include
int main()
{
int N, a[501] = { 0 }, b[500] = { 0 };
int flag = 0;
s……
编写题解 2771: 大象喝水
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double h,r,m; cin>>h>>r……