码迷,mamicode.com
首页 >  
搜索关键字:divide two integers    ( 17573个结果
1. 两数之和
1. 两数之和 https://leetcode cn.com/problems/two sum/ | 难度 | 完成日期 | 耗时 | 提交次数 | | | | | | | 简单 | 2020 1 16 | 0.5小时 | | 问题描述 给定一个整数数组 nums 和一个目标值 target,请你 ...
分类:其他好文   时间:2020-01-17 00:18:10    阅读次数:83
!Codeforces Round #364 (Div. 2) C. They Are Everywhere
https://codeforces.com/contest/701/problem/C binary search strings two pointers #include<bits/stdc++.h> using namespace std; const int N=1e5+5; char s ...
分类:其他好文   时间:2020-01-16 22:09:48    阅读次数:71
(数论)D - Beautiful Numbers
D - Beautiful Numbers Vitaly is a very weird man. He's got two favorite digits a and b. Vitaly calls a positive integer good, if the decimal represent ...
分类:其他好文   时间:2020-01-16 19:06:21    阅读次数:79
1007 Maximum Subsequence Sum
题目 Given a sequence of K integers {$N_{1},N_{2},...N_{k}$}. A continuous subsequence is defined to be {$N_{i},N_{i+1},...N_{j}$} where $1≤i≤j≤K$. The ...
分类:其他好文   时间:2020-01-16 17:22:49    阅读次数:63
[hdu-5795]A Simple Nim 博弈 尼姆博弈 SG函数打表找规律
【题目】题目链接 Two players take turns picking candies from n heaps,the player who picks the last one will win the game.On each turn they can pick any number ...
分类:其他好文   时间:2020-01-16 14:47:51    阅读次数:57
1304. Find N Unique Integers Sum up to Zero
Given an integer n, return any array containing n unique integers such that they add up to 0. Example 1: Input: n = 5 Output: [-7,-1,1,3,4] Explanatio ...
分类:其他好文   时间:2020-01-16 14:19:16    阅读次数:90
[LC] 796. Rotate String
We are given two strings, A and B. A shift on A consists of taking string A and moving the leftmost character to the rightmost position. For example, ...
分类:其他好文   时间:2020-01-16 12:45:23    阅读次数:79
链表(2)
链表的回文结构 对于一个链表,请设计一个时间复杂度为O(n),额外空间复杂度为O(1)的算法,判断其是否为回文结构。 给定一个链表的头指针 A ,请返回一个bool值,代表其是否为回文结构。保证链表长度小于等于900。 测试样例: Java C++ two sum https://www.nowco ...
分类:其他好文   时间:2020-01-16 12:28:50    阅读次数:69
AI-Adversarial Search
博弈 Game 的分类维度 Deterministic or stochastic? One, two, or more players? Zero sum? Perfect information (can you see the state)? Adversarial Search 对抗搜索 A ...
分类:其他好文   时间:2020-01-16 11:01:47    阅读次数:145
Educational Codeforces Round 80 (Rated for Div. 2) 题解
"Deadline" "Yet Another Meme Problem" "Two Arrays" "Minimax Problem" "Messenger Simulator" Deadline $$ Time Limit: 2 s\quad Memory Limit: 256 MB $$ 这是 ...
分类:其他好文   时间:2020-01-16 01:09:07    阅读次数:79
17573条   上一页 1 ... 85 86 87 88 89 ... 1758 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!