题解列表
蓝桥杯2013年第四届真题-危险系数 dfs遍历邻接表
摘要:```
#include
using namespace std;
const int N = 1100, M = 2 * N;
int n,m;
int cnt[N];
vector ……
数据结构-静态链表(C++)
摘要:#include <iostream>
#include <string>
#include <iomanip>
#define MAXSIZE 11
using namespace ……
IP判断----------------------------------
摘要:解题思路:注意事项:参考代码: #include "stdio.h"int main() { char S[100]; int a=0; while (scanf("%s", S)!=EOF) { ……
DNA-----------------------------------
摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include "math.h"char S[100];void X(int a, int x,int y) { for (int……
1048: [编程入门]自定义函数之字符串拷贝
摘要:解题思路:注意事项:getchar();//去回车;输入方式学习参考代码:int main(){
int n,m,i;
char n1[100];
scanf("%d",&n);
getcha……
1051: [编程入门]结构体之成绩统计2
摘要:解题思路:结构体数组定义与使用注意事项:参考代码:struct inf{
char no[100];
char name[100];
int sc1;
int ……
论作弊狂魔如何解出1013(xswl)
摘要:解题思路:直接写结果。注意事项:数字不要打错(可复制)参考代码:#include<stdio.h>int main(){ printf("24690"); return 0;}……
论作弊狂魔如何解出1016(xswl)
摘要:解题思路:鉴于它让我们输出所有的水仙花数,所以只要输出水仙花数就行了。注意事项:注意每数间要加空格。参考代码:#include<stdio.h>int main(){ printf("153 37……