Distinguishing between 32-bit and 64-bit A64 instructionsMost integer instructions in the A64 instruction set have two forms, which operate on either ...
分类:
其他好文 时间:
2020-01-13 20:02:44
阅读次数:
108
This time, you are supposed to find A+B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case occu ...
分类:
其他好文 时间:
2020-01-13 18:10:41
阅读次数:
67
2020-01-12 18:28:13 问题描述: 问题求解: 本题还是非常困难的,至少我在看到这个题目的时候是没有想到怎么解决的。我当时联想到的题目是那条grid走两遍的题目,那条题目也很麻烦,使用的是dp。 本题最终的解决方式其实是和那条题目是类似的,也是使用dp的方式去做。 最大的类似在于,这 ...
分类:
其他好文 时间:
2020-01-12 20:17:35
阅读次数:
84
Given an array A of integers and integer K, return the maximum S such that there exists i < j with A[i] + A[j] = S and S < K. If no i, j exist satisfy ...
分类:
其他好文 时间:
2020-01-12 11:53:41
阅读次数:
79
# -*- coding: utf-8 -*- import matplotlib.pyplot as plt import random as r p=0.495 p1=0.095 p2=0.745 a=3 b=2 s=0 a1=[0]*100 a2=[0]*100 a32=[0]*100 a22 ...
分类:
其他好文 时间:
2020-01-12 11:21:40
阅读次数:
77
"E1. Median on Segments (Permutations Edition)" 参考: "CF1005E1 Median on Segments (Permutations Edition) 思维" 中位数为m的条件为,在那一段中,小于 m 的数的个数为 x 个,大于 m 的数有 y ...
分类:
其他好文 时间:
2020-01-11 18:36:07
阅读次数:
74
题意: 给出一个边长为a的正方形,其左下角坐标为(0,0),右上角坐标为(a,a)。 此外,再给出一个边长为b的小正方形,以及它的左下角坐标(x,y),其右上角。 坐标为(x+b,y+b),并且保证小正方形一定在大正方形内(有可能会与大正方形的边重合,但不会超出大正方形)。 问是否存在一个在顶点都在 ...
分类:
其他好文 时间:
2020-01-11 11:40:48
阅读次数:
53
21. 合并两个有序链表 https://leetcode cn.com/problems/merge two sorted lists/ | 难度 | 完成日期 | 耗时 | 提交次数 | | | | | | | 简单 | 2020 1 10 | 0.5 小时 | 1 | 问题描述 将两个有序链表 ...
分类:
其他好文 时间:
2020-01-10 23:48:52
阅读次数:
92
废话不多说,直接上代码(工具类): public static Object[] combineArray(Object one[], Object two[]) throws BussinessException { Object res[] = null; if(one != null && o ...
分类:
编程语言 时间:
2020-01-10 20:13:42
阅读次数:
104
非coding shortcuts Ctrl+\ to split the active editor into two. in the Quick Open (Ctrl+P) file list. 快速打开最近所用的文件。 side by side 肩并肩,同一排 安装Ctrl 选择多个文件,然后 ...
分类:
其他好文 时间:
2020-01-08 00:41:28
阅读次数:
92