2018 national multi school algorithm winter holiday training camp practice competition (first game) I - number of numbers
Title:
lulu likes positive integers less than or equal to 1000, but if a number is a multiple of a or b, lulu will hate it. If a number contains numbers a and b, lulu will hate it. (for example, a=14, b=23. If a number contains any one of the four numbers 1, 2, 3, 4, lulu will hate this number.). Now tell you a, b. can ...
Posted by bibby on Wed, 29 Apr 2020 22:29:51 -0700
iview Modal application: pop up the add / edit data page on the list application page, and then close the pop-up page to refresh the list page
In practical application, a report list page is often needed to support the addition or modification of form data. After the operation, close the sub page and refresh the list page, as shown in the following figure
Main page code key code:
1) Introduce the components of the modal page to be popped up in the main page
<product ...
Posted by pets2soul on Thu, 23 Apr 2020 07:51:32 -0700
iOS Alipay, WeChat, UnionPay Integrated Packaging
1. Integrated Alipay Payment
Alipay Integrates Official Tutorials https://docs.open.alipay.com/204/105295/
Alipay Integration Official demo https://docs.open.alipay.com/54/104509/
1. Import SDK and add dependent Libraries
Launch an IDE (such as Xcode) to iOS Package The following files from the compressed file in are copied to the project f ...
Posted by DaZZleD on Mon, 20 Apr 2020 12:55:46 -0700
CF1337C (base tree dp)
Linova and Kingdom
Thinking: it's easy to think that the deepest point may be the point we need. We choose the point from the deepest point. But in the best case, we choose a point to build a factory. This point has two son points. The two sons must also be factories. The value of the two son factories will be subtracted by 1 because the fathe ...
Posted by djKale on Sat, 18 Apr 2020 07:59:19 -0700
vue2.x learning notes
Next, the previous content: https://www.cnblogs.com/yanggb/p/12586416.html.
Input binding of forms
The input binding of forms is a very important part, because all business systems are inseparable from the input function of basic forms, so it is necessary to carefully grasp the relevant knowledge points.
Basic usage
You can use the [v-mode ...
Posted by rishiraj on Sat, 11 Apr 2020 20:06:03 -0700
iOS reflection mechanism: the use of objc property
iOS reflection mechanism: the use of objc property
Objc ﹣ property ﹣ t is often used in actual development, for example, it is necessary to obtain the property of a registered class, or judge the type of property, or automatically assign a value to the property after obtaining the property, etc
Here is an example of ...
Posted by plapeyre on Sun, 05 Apr 2020 00:02:49 -0700
Vue implementation of 6-digit password (IOS WebView carton optimization)
In ios system, when the native webview nesting H5 page is used, the completed 6-digit input password is written, and the solution to the password stuck problem is as follows:
The following picture:
The reason is because of CSS. In short, if the style left is negative, this problem will not appear in android visual i ...
Posted by ppgpilot on Sat, 04 Apr 2020 23:50:03 -0700
iOS UIView add edges of jagged and wavy lines
1. ios adds jagged edge to UIView
It is mainly to calculate the position of the sawtooth point on the View, and then fill it in. The code is as follows:
UIBezierPath *path = [UIBezierPath bezierPath];
path.lineWidth = borderWidth;
NSInteger x = 0;
NSInteger y = (borderPosition = ...
Posted by Gwayn on Sat, 04 Apr 2020 13:29:40 -0700
Share button, h5 share to Android page
qq. the page shared by WeChat. How to call up an app and call it to a specific page
Original: 17:34:00, April 14, 2017
Label:
share /
Open to jump to the specified page
3808
The URL Scheme is supported by iOS and Android platform. Only the scheme needs to be registered when the native APP is developed. When ...
Posted by diesel on Fri, 03 Apr 2020 07:55:32 -0700
5, Address book permissions
5, Address book permissions
First, import the framework import < contacts / contacts. H > and configure the NSContactsUsageDescription field in info.plist.
Get current App authorization status
Use the class method authorizationStatusForEntityType of CNContactStore class to get the authorization status. Pas ...
Posted by rameshfaj on Thu, 02 Apr 2020 15:34:36 -0700