This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__block BOOL flag = YES; //0 up 1 down | |
UINavigationBar *navbar = [[self navigationController] navigationBar]; | |
[UIView animateWithDuration:0.3 animations:^(void) | |
{ | |
if ([[UIApplication sharedApplication] respondsToSelector:@selector(setStatusBarHidden:withAnimation:)]) { | |
[[UIApplication sharedApplication] setStatusBarHidden:flag withAnimation:NO]; | |
} | |
if (flag) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <hash_map> | |
#include <iostream> | |
#include <list> | |
#include <vector> | |
#include <algorithm> | |
using namespace std; | |
using namespace stdext; | |
int R,C;//地图行列 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I MUST COME ON! |
NewerOlder