题意很简单,就是两个大矩阵相乘,然后求乘积。用Strassen算法的话,当N的规模达到100左右就会StackOverFlow了况且输入的数据范围可达到800,如果变量还不用全局变量的话连内存开辟都开不出来 1 #pragma comment(linker, "/STACK:16777216") ....
分类:
其他好文 时间:
2014-08-05 22:03:30
阅读次数:
231
安卓activity捕获返回button关闭应用的方法 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { //按下键盘上返回button if(keyCode == KeyEvent.KEYCODE_BACK){ .....
分类:
移动开发 时间:
2014-08-05 22:02:40
阅读次数:
198
lca。。。
排个序然后暴力保平安
_(:зゝ∠)_
#pragma comment(linker, "/STACK:102400000,102400000")
#include"cstdio"
#include"iostream"
#include"set"
#include"queue"
#include"string.h"
using namespace std;
#define...
分类:
其他好文 时间:
2014-08-05 19:25:00
阅读次数:
299
堆栈1,概要堆栈是两种数据结构。堆栈都是一种数据项按序排列的的数据结构,只能在一端进行(称为栈顶(top))对数据项进行插入和删除。要点:堆,列队优先,先进先出。栈,后进先出(Last-In/First-Out)。2,对比(Java语言)1.栈(stack)和堆(heap)都是java用来在Ram中...
分类:
编程语言 时间:
2014-08-05 18:24:29
阅读次数:
358
1 VK_LBUTTON = 1; 2 VK_RBUTTON = 2; 3 VK_CANCEL = 3; 4 VK_MBUTTON = 4; { NOT contiguous with L & RBUTTON } 5 VK_BACK = 8; 6 VK_TAB = 9; ...
分类:
其他好文 时间:
2014-08-05 13:56:59
阅读次数:
328
http://nzpcmad.blogspot.co.nz/2013/06/saml-saml-stack.html You have an application – .NET, JAVA whatever. You want this to be a SP and need to connect...
分类:
其他好文 时间:
2014-08-05 13:37:59
阅读次数:
190
修改时间:2013-4-8类型:BULLETINIntroduction~~~~~~~~~~~~ This short article aims to explain how to get a stack trace from a core dump produced b...
分类:
其他好文 时间:
2014-08-05 13:34:09
阅读次数:
292
The Flat Dictionary原来的代码没处理dict为空的情况 1 def flatten(dictionary): 2 #[] is a list 3 #() is a tuple 4 stack = [((), dictionary)] 5 6 res...
分类:
其他好文 时间:
2014-08-05 11:05:59
阅读次数:
204
1 #include 2 #include 3 using namespace std; 4 class min_stack 5 { 6 public: 7 void push(int); 8 void pop(); 9 int min();10 int size...
分类:
其他好文 时间:
2014-08-05 02:59:38
阅读次数:
263
Welcome back to what’s going to be the last “official” part of this series – I’ll do more GPU-related posts in the future, but this series is long eno...
分类:
其他好文 时间:
2014-08-05 02:56:18
阅读次数:
427