Decimal conversion of numbers (conversion to decimal and short division at the same time)

Write a program, can realize a number from one base to another base. There are 62 different digits {0-9,A-Z,a-z}. Input format Enter an integer for the first row to represent the number of rows to follow. Next, each line contains three numbers, first input base (decimal), then output base (decima ...

Posted by eliezer on Fri, 21 Feb 2020 13:45:42 +0100

Android and Flutter hybrid development UI interaction

Preface I'm an Android Developer. I'll just introduce the hybrid development of Android and Flutter here. There are many related articles on the Internet about the mixed development of native and Flutter, which are basically done by using the methods of FlutterView and FlutterFragment. However, in th ...

Posted by robche on Fri, 14 Feb 2020 11:59:52 +0100

IOS docking CC video interface

IOS docking CC video interface On demand interface document Live interface document Docking process: 1. Implementation of HTTP communication encryption: The request parameter hash of CC video interface needs to be composed of other request parameters and api key with salt value hash. First, the common query parameters (in ...

Posted by mysterbx on Thu, 13 Feb 2020 23:07:41 +0100

Multi level expansion menu based on Bootstrap layout

Multi level expansion menu based on Bootstrap layout Tutorial address: Original address (YouTube) Tutorial of station B: Original reprint (bilibili bili) The content of the two videos is the same, and the second is reprint Design sketch [external link image transfer failed. The source station may h ...

Posted by xgd on Fri, 07 Feb 2020 18:20:30 +0100

CodeForces - 1105E Helping Hiasat

Title: The meaning of the problem is transformed into a graph theory problem: given a undirected graph with m points, the maximum independent set is obtained. (m≤40)(m \leq 40)(m≤40) Links: https://codeforces.com/contest/1105/problem/E Solutions: It is obvious that the direct state pressure ...

Posted by bpp198 on Sun, 02 Feb 2020 16:50:41 +0100

CodeForces - 1107G Vasya and Maximum Profit

Title: l+1) * a − I = l Σ r ci − gap (L, R), where gap(l,r)=max ⁡ i=l+1r(di − di − 1) 2gap (L, R) = \ Max \ limits {I = L + 1} ^ R (D_ i-d_{i-1})^2gap(l,r)=i=l+1maxr​(di​−di−1​)2. (n≤3×105)(n \leq 3×10^5)(n≤3×105) Links: https://code ...

Posted by briand on Sun, 02 Feb 2020 15:40:38 +0100

Get the current device language in iOS?

I want to display the current language used by the device UI. What code will I use? I want it to appear as an NSString in a fully spelled format. (not @ "en UUS") Editor: for those who continue to move forward, there are a lot of useful comments here, as the answer evolves with the new version of iOS. #1 building For Mono ...

Posted by jursten on Sat, 01 Feb 2020 18:03:10 +0100

Learn more about oom (low memory crash) in iOS

In the iOS development process or user feedback, you may often see this situation. When you use it, you will crash. When you check the crash stack in the background, you cannot find the crash log. In fact, most of this may be due to the system's low memory crash, that is, oom (another possibility is tha ...

Posted by drums on Thu, 16 Jan 2020 10:18:18 +0100

You should not call base in this method Xamarin Forms Renderer

Recently, I am working on Xamarin Forms project. I believe you are unfamiliar with Xamarin. In fact, it is also a cross platform technology. Please refer to the following official document to understand. What is Xamarin.Forms? Xamarin.Forms is an open-source UI framework. Xamarin.Forms allows deve ...

Posted by jeremuck on Wed, 15 Jan 2020 10:25:47 +0100

Swift TouchId fingerprint unlock, FaceId face unlock

Explain TouchId fingerprint recognition, FaceId face unlocking, collectively referred to as biometrics. Realization Introduce the Local Authentication Framework. If it's iOS 13, it's available by default. You don't need to re introduce it. import LocalAuthentication Check that biometrics are avail ...

Posted by tonbah on Mon, 13 Jan 2020 12:51:23 +0100