刚开始在POJ上刷题。。。。先水几道题,嘿嘿
Description
Find and list all four-digit numbers in decimal notation that have the property that the sum of its four digits equals the sum of its digits when represent...
分类:
其他好文 时间:
2015-06-17 13:31:53
阅读次数:
129
cocos2d-xPixel Perfect Collision Detection (Using Cocos2d-x)This post found its way because I couldnt find the answer to one of the questions I asked ...
分类:
其他好文 时间:
2015-06-17 12:59:33
阅读次数:
254
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:
其他好文 时间:
2015-06-17 11:13:53
阅读次数:
133
FFMPEG解码流程:1. 注册所有容器格式和CODEC: av_register_all()2. 打开文件: av_open_input_file()3. 从文件中提取流信息: av_find_stream_info()4. 穷举所有的流,查找其中种类为CODEC_TYPE_VIDEO5. 查找对...
分类:
其他好文 时间:
2015-06-17 11:09:45
阅读次数:
99
"Demo1 - Debug": The compiler's setup (LLVM D Compiler) is invalid, so Code::Blocks cannot find/run the compiler.Probably the toolchain path within th...
分类:
其他好文 时间:
2015-06-17 10:57:54
阅读次数:
88
1. 注册所有解码器av_register_all();2. Codec & CodecContextAVCodec* codec = avcodec_find_decoder(CODEC_ID_AAC);if (!codec){fprintf(stderr, "codec not found\n"...
分类:
其他好文 时间:
2015-06-17 10:53:21
阅读次数:
116
#include
#include
#include
#include
#include
#include
using namespace std;
int find(int n)
{
for (int i = 2 ; i < 50000 ; ++ i) {
if (pow(0.0+i, (int)(log10(fabs(n+0.0))/log10(i+0.0)+0.01))...
分类:
其他好文 时间:
2015-06-17 09:45:25
阅读次数:
103
Campwood SoftwareSourceMonitor Version 3.5The freeware program SourceMonitor lets you see inside your software source code to find out how much code y...
分类:
其他好文 时间:
2015-06-17 09:21:17
阅读次数:
109
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.For example, given the following matr...
分类:
其他好文 时间:
2015-06-17 08:13:14
阅读次数:
112
Description:Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along its ...
分类:
其他好文 时间:
2015-06-17 00:25:03
阅读次数:
185