Microsoft.Office.Interop.Excel.dll 版本是14.0 //文件上传 btn_dr_fp_Click(null, null); string wjm = ""; if (ViewState["zrpzy085"] != null) { wjm = ViewState[" ...
分类:
Web程序 时间:
2020-01-28 17:12:58
阅读次数:
103
原题链接 https://pintia.cn/problem sets/994805342720868352/problems/994805500414115840 思路 题目大意是说一些城市之间有路相通,假设其中一个城市被敌方占领了,计算需要新修多少条路才能让剩下的城市全部联通。首先这是一个典型的 ...
分类:
其他好文 时间:
2020-01-27 22:03:49
阅读次数:
72
buildTree(data, id, pid) { let map = {}; data.forEach(function (item) { // map[item.id] = item; eval('map[item.' + id + '] = item;') //当前ID }); let va ...
分类:
Web程序 时间:
2020-01-27 10:55:43
阅读次数:
139
 正在建立一个新的电话电缆网络。它们连接了n个位置。每个地方都有一个交换机。电缆是双向的,连接两个地方,电缆每一端都会连接到当地的交换机中。从每一个地方都可以通过电缆连接到其他地方(可以通过其他交换机到达某地,而未必直接连接)。有时有的地方停电导致交换机故障。TLC官员认识到,在 ...
分类:
其他好文 时间:
2020-01-26 11:39:45
阅读次数:
104
import React from "react"; import ReactDom from "react-dom"; import {BrowserRouter,Switch,Route} from "react-router-dom"; import './style/index.scss' ...
分类:
其他好文 时间:
2020-01-25 19:30:23
阅读次数:
231
//render 第一种方法:先const一个对象,把需要应用图片的dom上的style写入对象中, 然后在return()中使用style关键字赋值为预先定义的那个style对象 const bgGround = { display:'block', height: '600px', width: ...
分类:
其他好文 时间:
2020-01-25 19:29:13
阅读次数:
75
6.1什么是递归 递归: 如果一个函数在内部可以调用其本身,那么这个函数就是递归函数。 简单理解: 函数内部自己调用自己, 这个函数就是递归函数 注意: 递归函数的作用和循环效果一样,由于递归很容易发生“栈溢出”错误(stack overflow),所以必须要加退出条件return。 6.2 利用递 ...
分类:
其他好文 时间:
2020-01-24 12:04:55
阅读次数:
91
Problem Description Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ...
分类:
其他好文 时间:
2020-01-22 14:39:56
阅读次数:
72
Problem Description You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not ...
分类:
其他好文 时间:
2020-01-22 14:33:31
阅读次数:
71