- 博客(28)
- 收藏
- 关注
原创 ffmpeg安装及使用
给大家安利一个编解码神器 ffmpeg,ffmpeg是一个免费开源的编解码工具,大部分视屏播放软件都是以它作为内核的。 windows环境下ffmpeg安装及使用 访问:www.ffmpeg.org 点击download。ffmpeg我们可以下载他的源文件自己进行编译使用,也可以下载编译好的软件进行使用。我们在这下载编译好的软件 下载对应的版本就好 解压到自己的盘中。配置环境
2016-04-23 15:09:53 339
原创 leetcode 009 Palindrome Number
9. Palindrome Number Total Accepted: 119423 Total Submissions: 378311 Difficulty: Easy Determine whether an integer is a palindrome. Do this without extra space. click to show sp
2016-04-21 20:21:58 256
原创 leetcode 007 Reverse Integer
package com.archer; /** * * @author Archer * * 题意:高位换低位 低位换高位 * 题解: java int 32位 -2147483648----2147483648 * 考虑溢出的问题,可能原数不会溢出,但是转职后会溢出 如测试数据中的1534236469 */ public class Solu
2016-04-19 19:57:37 242
原创 leetcode 005 Longest Palindromic Substring(java)
leetcode 005 Longest Palindromic Substring(java) 5. Longest Palindromic Substring My Submissions Question Total Accepted: 87802 Total Submissions: 399054 Difficulty: Medium Giv
2016-01-15 17:59:53 254
原创 leetcode 004 Median of Two Sorted Arrays(java)
Median of Two Sorted Arrays My Submissions Question Total Accepted: 75699 Total Submissions: 428881 Difficulty: Hard There are two sorted arrays nums1 and nums2 of size m and n resp
2015-12-13 22:03:50 229
原创 leetcode 003 Longest Substring Without Repeating Characters(java)
Longest Substring Without Repeating Characters My Submissions Question Total Accepted: 111400 Total Submissions: 532861 Difficulty: Medium Given a string, find the length of the lon
2015-12-09 22:55:52 273
原创 leetcode 002 Add Two Numbers(java)
leetcode 002 Add Two Numbers Add Two Numbers My Submissions Question Total Accepted: 105768 Total Submissions: 494750 Difficulty: Medium You are given two linked lists represen
2015-12-09 00:27:50 323
原创 leetcode 001 Tow Sum(java)
Two Sum Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to
2015-12-08 21:42:34 346
原创 USACO 1.5 Prime Palindromes
Prime Palindromes The number 151 is a prime palindrome because it is both a prime number and a palindrome (it is the same number when read forward as backward). Write a program that finds all pri
2015-10-15 22:47:01 356
原创 USACO 1.5 Number Triangles
Number Triangles Consider the number triangle shown below. Write a program that calculates the highest sum of numbers that can be passed on a route that starts at the top and ends somewhere on th
2015-09-11 14:46:28 358
原创 USACO 1.4 Mother's Milk
Mother's Milk Farmer John has three milking buckets of capacity A, B, and C liters. Each of the numbers A, B, and C is an integer from 1 through 20, inclusive. Initially, buckets A and B are empty
2015-09-10 01:03:27 320
原创 USACO 1.4 Arithmetic Progressions
Arithmetic Progressions An arithmetic progression is a sequence of the form a, a+b, a+2b, ..., a+nb where n=0,1,2,3,... . For this problem, a is a non-negative integer and b is a positive integer.
2015-09-10 00:41:58 239
原创 USACO 1.3 Ski Course Design
Ski Course Design Farmer John has N hills on his farm (1 Unfortunately, FJ has just found out about a new tax that will be assessed next year on farms used as ski training camps. Upon careful r
2015-09-09 01:04:25 286
原创 USACO 1.3 Wormholes
Wormholes Farmer John's hobby of conducting high-energy physics experiments on weekends has backfired, causing N wormholes (2 According to his calculations, Farmer John knows that his wormholes
2015-09-08 01:03:33 392
原创 USACO 1.3 Combination Lock
Combination Lock Farmer John's cows keep escaping from his farm and causing mischief. To try and prevent them from leaving, he purchases a fancy combination lock to keep his cows from opening the p
2015-09-05 19:43:01 334
原创 USACO 1.3 Prime Cryptarithm
Prime Cryptarithm The following cryptarithm is a multiplication problem that can be solved by substituting digits from a specified set of N digits into the positions marked with *. If the set of
2015-09-04 16:05:29 283
原创 USACO 1.3 Barn Repair
Barn Repair It was a dark and stormy night that ripped the roof and gates off the stalls that hold Farmer John's cows. Happily, many of the cows were on vacation, so the barn was not completely f
2015-09-04 00:25:23 227
原创 USACO 1.3 Mixing Milk
Mixing Milk The Merry Milk Makers company buys milk from farmers, packages it into attractive 1- and 2-Unit bottles, and then sells that milk to grocery stores so we can each start our day with d
2015-09-03 21:22:27 332
原创 USACO 1.2 Dual Palindromes
Dual Palindromes Mario Cruz (Colombia) & Hugo Rickeboer (Argentina) A number that reads the same from right to left as when read from left to right is called a palindrome. The number 12321 is a pali
2015-09-03 14:45:11 247
原创 USACO 1.2 Palindromic Squares
Palindromic Squares Rob Kolstad Palindromes are numbers that read the same forwards as backwards. The number 12321 is a typical palindrome. Given a number base B (2 <= B <= 20 base 10), print a
2015-09-01 21:18:37 267
原创 USACO 1.2 Name That Number
Name That Number Among the large Wisconsin cattle ranchers, it is customary to brand cows with serial numbers to please the Accounting Department. The cow hands don't appreciate the advantage of
2015-08-29 14:38:46 262
原创 USACO 1.2 Transformations
Transformations A square pattern of size N x N (1 <= N <= 10) black and white square tiles is transformed into another square pattern. Write a program that will recognize the minimum transformati
2015-08-29 08:45:56 249
原创 USACO 1.1 Milking Cows
Milking Cows Three farmers rise at 5 am each morning and head for the barn to milk three cows. The first farmer begins milking his cow at time 300 (measured in seconds after 5 am) and ends at tim
2015-08-29 06:16:26 268
原创 USACO 1.1 Broken Necklace
Broken Necklace You have a necklace of N red, white, or blue beads (3 1 2 1 2 r b b r b r r b r
2015-08-29 01:30:17 263
原创 USACO 1.1 Friday the Thirteenth
Friday the Thirteenth Is Friday the 13th really an unusual event? That is, does the 13th of the month land on a Friday less often than on any other day of the week? To answer this question, wr
2015-08-28 18:47:37 239
原创 USACO 1.1 Greedy Gift Givers
Greedy Gift Givers A group of NP (2 ≤ NP ≤ 10) uniquely named friends has decided to exchange gifts of money. Each of these friends might or might not give some money to any or all of the other f
2015-08-28 16:11:56 282
原创 USACO 1.1 Your Ride Is Here
今天开切usaco 题解:简单的字符串处理 /* ID: cxq_xia1 PROG: ride LANG: C++ */ #include #include #include using namespace std; int main() { freopen("ride.in","r",stdin); freopen("ride.out","w",stdou
2015-08-28 13:07:59 384
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人