##AC代码 #include<stdio.h> #include<string.h> #include<iostream> #include<queue> using namespace std; #define inf 0x3f3f3f3f const int N=1020; int e[N][ ...
分类:
其他好文 时间:
2021-05-24 03:46:14
阅读次数:
0
直接上代码吧 中间件简单使用: # -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/lat ...
分类:
其他好文 时间:
2021-05-24 03:01:58
阅读次数:
0
【题目来源】 https://leetcode-cn.com/problems/zhong-jian-er-cha-shu-lcof/ 【题目内容】 【解题思路】 思路一:遍历(超出时间限制) 将数组中的每一个数字和后面的所有数字进行比较,当发现相等时,即为结果。 int findRepeatNum ...
分类:
其他好文 时间:
2021-05-24 03:01:03
阅读次数:
0
有向图强连通分量SCC P3387【模板】缩点 注释放代码里啦 时间复杂度O(n+m) #include<iostream> #include<cstdio> #include<cstdlib> #define maxn 100010 #define maxm 1000010 using names ...
分类:
其他好文 时间:
2021-05-24 02:15:52
阅读次数:
0
Little Q is very sleepy, and he really needs some coffee to make him awake. At this time, Little L brings a pot to Little Q, and he states the pot as ...
分类:
其他好文 时间:
2021-05-24 02:14:37
阅读次数:
0
C语言 C语言和Python的方法是一样的,所以就C语言了,效率上快很多。 /** * Definition for singly-linked list. * struct ListNode { * int val; * struct ListNode *next; * }; */ #define ...
分类:
编程语言 时间:
2021-05-24 02:05:47
阅读次数:
0
/* //一、this指向 let student = { stuName: '黄婷婷', study: function () { console.log(this.stuName + ' 学习') } } //this指向student student.study()//黄婷婷 学习 //thi ...
分类:
编程语言 时间:
2021-05-24 01:48:16
阅读次数:
0
数据结构二叉树的基本操作设计#include <conio.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #define MAXLEN 100 #define NLAYER 4 typedef struct BiTNode / ...
分类:
编程语言 时间:
2021-05-24 01:40:53
阅读次数:
0
#include <stdio.h> #include <stdlib.h> #define N 1000 int fun(int n,int m,int bb[N]) { int i,j,k=0,flag; for(j=n;j<=m;j++) { flag= 1; for(i=2;i<j;i++) ...
分类:
其他好文 时间:
2021-05-24 00:15:41
阅读次数:
0
题目 Atcoder 思路 代码 #include <iostream> #include <algorithm> #include <cmath> #include <map> #define int long long using namespace std; const int N = 100 ...
分类:
其他好文 时间:
2021-05-24 00:04:21
阅读次数:
0