说在前面 考场上的我是真的逊,expr代码都写出来了结果没有更新到D:/submit而爆零。 题意简述 给你一个后缀表达式$s$,只有&,|,!运算,有$n$个变量,为$x_1,x_2,\cdots x_n$,其中任意$x_i \in {0,1}$,给$x_i$的初值,$q$个操作,每次操作: 给一 ...
分类:
其他好文 时间:
2020-11-19 12:33:47
阅读次数:
8
1、依赖 a、jQuery b、angularjs 2、page.js文件 1 var Page = function (options) { 2 var myApp = angular.module('myApp', []); 3 myApp.controller('myCtrl', functi ...
分类:
微信 时间:
2020-11-19 12:06:20
阅读次数:
25
function getExplorerWindows() { let wnds = sp.AllApplications(); const windClass = "CabinetWClass"; const proName = "explorer"; let result = new Array ...
分类:
其他好文 时间:
2020-11-19 12:03:37
阅读次数:
4
兄弟组件之间传值: 兄弟之间的传递数据需要借助于事件中心,通过事件中心传递数据提供事件中心 var hub = new Vue() 传递数据方,通过一个事件触发hub.$emit(方法名,传递的数据) 接收数据方,通过mounted(){} 钩子中 触发hub.$on()方法名 销毁事件 通过hub ...
分类:
其他好文 时间:
2020-11-18 12:32:12
阅读次数:
6
1 #include<bits/stdc++.h> 2 #define ll long long 3 #define INF 1e17 4 using namespace std; 5 const int N = 2e5 + 10; 6 ll n, k; 7 ll a[N]; 8 9 bool ch ...
分类:
其他好文 时间:
2020-11-17 12:50:15
阅读次数:
11
1、安装插件 jspdf-html2canvas npm i jspdf-html2canvas --save 2、使用 import html2PDF from 'jspdf-html2canvas' printingPage() { const page = document.querySele ...
分类:
其他好文 时间:
2020-11-17 12:23:18
阅读次数:
5
1. 常量指针 常量是形容词,指针是名字,常量指针的本质是指针,常量修饰它,表示这个指针仍是一个指向常量的指针,指针指向的对象是常量,表示这个对象不能被更改。 在C/C++中,常量指针这样声明: (1)const int *p; (2)int const *p; 常量指针的使用要注意,指针指向的对象 ...
分类:
其他好文 时间:
2020-11-17 11:49:39
阅读次数:
4
TEST_F(FooTest, MethodBarDoesAbc) { const std::string input_filepath = "this/package/testdata/myinputfile.dat"; const std::string output_filepath = "t ...
分类:
其他好文 时间:
2020-11-17 11:48:25
阅读次数:
6
这是之前上机做的一道题的内容,当时由于我不知道怎么实现结构体的快排,导致这道题没能ac(所以打好数据结构的基础多么重要) struct baoshi{ long long a; long long v; }arr[100001]; int cmp(const void *a, const void ...
分类:
其他好文 时间:
2020-11-16 14:03:54
阅读次数:
19
对象数组: const systemList = [ { "gradeType": 2, "itemId": 22, "score": 33, "itemName": "低压压缩空气系统" }, { "gradeType": 2, "itemId": 20, "score": 52, "itemNa ...
分类:
编程语言 时间:
2020-11-16 13:37:36
阅读次数:
9