@ Angular/cli: How do I make @angular/cli-generated projects compatible with IE9/10/11?

One nauseating thing is that @angular/cli generated projects do not support IE well by default, and neither does 9/10/11. The good news is that @angular/cli generates the polyfill.ts file by default, which can be supported in a few simple steps. Step 1: Create a project with @angular/cli ng new ie-test cd ie-test ng ser ...

Posted by vulcant13 on Sat, 09 Feb 2019 17:42:20 -0800

【Codeforces Round #425 (Div. 2) B】Petya and Exam

[Link]:http://codeforces.com/contest/832/problem/B [Description] * Can replace a string (composed of bad letters); Can replace a single character (composed of good letters); Ask you if each string can be matched [Solution] For the case where there is no * First judge whether the length is the same, but not the same. Otherwise, look ...

Posted by baennaeck on Sat, 09 Feb 2019 10:24:17 -0800

vue adapts to the mobile terminal, with the help of px 2 rem plug-in, it is convenient to convert px units to rem

1, installation npm install px2rem-loader lib-flexible –save 2. Introducing lib-flexe into the project entry file main.js import 'lib-flexible/flexible.js' 3. In utils.js under build, find the generateLoaders method and add it here. const px2remLoader = { loader: 'px2rem-loader', options: { ' ...

Posted by piyush23424 on Wed, 06 Feb 2019 22:21:16 -0800

ECB and CBC Encryption and Decryption of php7 openssl_decrypt AES

Version 7.2 of PHP replaces mcrypt_encrypt with openssl_encrypt, which makes the Aes encryption classes written by ourselves useless. The client side of this project used AES-128-ECB encryption, and I used online AES tools to test, and found that the encryption and decryption methods I wrote had different values. The key encrypted is not 16 bi ...

Posted by 303tech on Tue, 05 Feb 2019 15:33:22 -0800

Codeforces 967 C. Stairs and Elevators (dichotomy)

Title Description There are n floors, each floor has m districts, which need to go up and down stairs or elevators. It takes a unit time to move and climb a staircase between adjacent areas. The maximum speed of elevators is v floors per unit time. Now, what is the minimum time needed to move from y1 district on x1 floor to y2 ...

Posted by dgoosens on Tue, 05 Feb 2019 06:36:16 -0800

Pure C version LZMA compression algorithm library for Unity (windows iOS Android) (dll. so and. a)

Self-encapsulated LZMA interface library for unity, including dll of win platform, so dynamic library of Android and. a static library of iOS LZMA is currently the highest compression ratio compression algorithm. Official versions of LZMA are available in many languages. unity can use C# directly, but it has been proved ...

Posted by Cannibal_Monkey on Tue, 05 Feb 2019 00:54:17 -0800

HDU - 6333 Harvest of Apples mo

Problem Description There are n apples on a tree, numbered from 1 to n. Count the number of ways to pick at most m apples.   Input The first line of the input contains an integer T (1≤T≤105) denoting the number of test cases. Each test case consists of one line with two integers n,m (1≤m≤n≤105).   Output For each test ca ...

Posted by feddie1984 on Mon, 04 Feb 2019 06:15:16 -0800

HDU 6356 Glad You Came [st Table]

Title Link Problem meaning: n numbers, through an algorithm and generators X,Y,Z to generate m group updates. Each time, the number less than V in [l,r][l,r] is updated to v. The values of (1 a[1]) (2 a[2] (n a[n])(1 a[1]) (2 a[2] (n a[n]) after m updates are calculated. Among them, The main contradiction in the topic is to ...

Posted by blt2589 on Mon, 04 Feb 2019 03:48:17 -0800

POJ2767 Reduced ID Numbers-Congruence Theorem

Title Link This is the link Description T. Chur teaches various groups of students at university U. Every U-student has a unique Student Identification Number (SIN). A SIN s is an integer in the range 0 ≤ s ≤ MaxSIN with MaxSIN = 106-1. T. Chur finds this range of SINs too large for identification within her groups. For each ...

Posted by Pilli on Mon, 04 Feb 2019 00:30:16 -0800

HDU 6416 2018 HDU Multi-Campus Game 9 Rikka with Seam (dp + prefix and optimization)

    Here's the general idea: Give you an n*m matrix of 01. Now let's get rid of a number for each row and column, and ask that the absolute value of the position of the number removed between adjacent rows be less than or equal to k. Now ask you how many kinds of rectangles you can delete. First of all, let's consider on ...

Posted by xentia on Sun, 03 Feb 2019 19:00:16 -0800