码迷,mamicode.com
首页 >  
搜索关键字:long position    ( 28572个结果
《 Codeforces Round #699 (Div. 2)》
A:把多余的步数删掉即可。 #include<bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<int,int> pii; const int N = 1e4 + 5; const int M = 1e4 + ...
分类:其他好文   时间:2021-02-09 12:16:59    阅读次数:0
LeetCode - Minimum Remove to Make Valid Parentheses
Given a string s of '(' , ')' and lowercase English characters. Your task is to remove the minimum number of parentheses ( '(' or ')', in any position ...
分类:其他好文   时间:2021-02-09 12:12:28    阅读次数:0
BigInteger、BigDecimal
在Java中,8种基本数据类型并不能表示所有的数字。 整数无法表示比byte最小取值还小的,比long最大取值还大的。 浮点数本身有精度, 这就注定有很多数字用基本类型没有办法表示。 BigInteger用来表示不可变的任意精度的整数。BigDecimal用来表示不可变的、任意精度的有符号十进制数。 ...
分类:其他好文   时间:2021-02-09 12:02:58    阅读次数:0
2021.01.30 Rating赛 解题/补题报告
A 一共n个人,去a餐厅的有a人,去b餐厅有b人,两个都去的有c人,求没有去的有多少,如果数据不合理或没去的人数少于1,输出-1 #include<bits/stdc++.h> using namespace std; #define ll long long int main() { int n, ...
分类:其他好文   时间:2021-02-09 11:44:03    阅读次数:0
2.5 上海马拉松 C题题解
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef double db; ll a, b, c, d; void solve1() { if (a > 0) { puts("(-inf,inf)"); ...
分类:其他好文   时间:2021-02-08 12:05:36    阅读次数:0
1143. 最长公共子序列
class Solution { public: int f[1005][1005]; int longestCommonSubsequence(string text1, string text2) { memset(f,0,sizeof(f)); int n=text1.size(); int ...
分类:其他好文   时间:2021-02-08 11:51:48    阅读次数:0
八大基本数据类型
public class Demo01 { public static void main(String[] args) { //八大基本数据类型 //整数 int num=10; //最常用的 byte num1=20; short num3=30; long num4=30L;//Long类型要 ...
分类:其他好文   时间:2021-02-08 11:43:03    阅读次数:0
[AGC039E] Pairing Points
#include <bits/stdc++.h> typedef long long ll; ll dp[40][40][40],ans; int n,a[40][40]; char s[40]; ll dfs(int l,int r,int mid){ if (l==r) return 1; if ...
分类:其他好文   时间:2021-02-08 11:40:55    阅读次数:0
UOJ87 mx的仙人掌 虚仙人掌
UOJ87 mx的仙人掌 这里没有用传统的方点外接圆点的做法,而是方点虚树上儿子跳到方点所在环上单调队列处理,本质上是一样的. code //爽! #include<bits/stdc++.h> using namespace std; typedef long long ll; const int ...
分类:其他好文   时间:2021-02-06 12:15:50    阅读次数:0
leetcode-剑指44-OK
// language C with STL(C++) // 剑指44 // https://leetcode-cn.com/problems/shu-zi-xu-lie-zhong-mou-yi-wei-de-shu-zi-lcof/ // 同主站400题 // https://leetcode- ...
分类:其他好文   时间:2021-02-06 11:54:26    阅读次数:0
28572条   上一页 1 ... 28 29 30 31 32 ... 2858 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!