题解列表
从后面移动,并保存消失的后面
摘要:解题思路:#include<stdio.h>
int main(void)
{
int i, j, n, a[100], move;
scanf("%d", &n);
……
编写题解 2997: 梯形面积
摘要:```cpp
#include
using namespace std;
int main()
{
double e;
e=150*2/15*(15+25)/2;
……
谁考了第k名 C++
摘要:```cpp
#include
using namespace std;
// 定义学生结构体
struct Student {
int id; // 学号
……
一定要细心啊(不难)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main(void)
{
int n;
printf("Please enter the number……
real_count经典命名
摘要:#include<stdio.h>
int main(void)
{
int n;
scanf("%d", &n);
int flag[100] = {0};
……
2801: 奇数求和题解
摘要:解题思路:注意事项:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ int n,m;cin……
编写题解 2816: 统计满足条件的4位数个数
摘要:解题思路:注意事项:注意分离数位的代码(见下面的代码第11行)参考代码:#include<bits/stdc++.h>using namespace std;int main(){ long long……