题解列表
新手简单快速解决!!!
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n = 0, x = 0, y = 0; cin ……
蓝桥杯2022年第十三届省赛真题-刷题统计
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long int a, b, n, day = 0; scanf("%ld%ld%ld", &a, ……
c语言求解链表之节点删除
摘要:```c
#include
#include
#define _CRT_SECURE_NO_WARNINGS 1
typedef struct student
{
int num;……
图像旋转(挺绕的,我是再整了一个数组为旋转了90度的数组)
摘要:解题思路:旋转90度得到的新数组也就是原来数组的每一列,变为新数组的每一行注意事项:参考代码:#include<stdio.h>
int main()
{
int n,m;
scanf("……
题解 1151: C语言训练-计算一个整数N的阶乘
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int N,a=1; cin>>N; for(int i=1……
c++ STL解法,用上vector容器,sort函数
摘要:#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
bool cmp(int a,int ……
2804: 与指定数字相同的数的个数
摘要:```
#include
using namespace std;
int main(){
int x,k,n,x1=0;
cin>>k>>x;
for(int i=1; i>n;
……
2794: 求平均年龄
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double b,c; cin>>n; for……
2796: 求整数的和与均值
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n, b, c = 0; cin>>n; for(i……