首页 > 2014年03月27日 > 全部分享
SRM473
250pt:题意:在二维平面上,给定3种,左转、右转,以及前进一步,的指令序列循环执行,问整个移动过程是否是发散的。思路:直接模拟一个周期,然后判断1.方向是否和初始时不同 2.是否在原来的点 满足其一便是收敛。具体画个图便明白code: 1 #line 7 "SequenceOfCommands....
分类:其他   时间:2014-03-27 07:05:21    收藏:0  评论:0  赞:0  阅读:458
性能测试学习内容指南
1. 性能测试理论性能测试常用术语性能测试的应用领域性能测试工具原理2.LoardRunner基本操作及应用LoardRunner原理分析LoardRunner脚本开发流程VuGen(基本设置、检查点、参数化、关联、调试、事物)Controller(场景设计、场景监视、集合点、IP欺骗技术、负载均衡...
分类:其他   时间:2014-03-27 07:04:54    收藏:0  评论:0  赞:0  阅读:437
Cannot return from outside a function or method
最近发现myeclipse10中有几处bug 比如: Cannot return from outside a function or methodonClick="return check();"出现错误等等 本人略总结了一点小方法,供参考: 方法一:window -->preferences -...
分类:其他   时间:2014-03-27 07:07:25    收藏:0  评论:0  赞:0  阅读:462
CALayers详解
为什么说 CALayer 很重要呢:1. 每个UIView 都有 CALayer,即 UIView.layer,同时 UIView是iOS系统中界面元素的基础,所有的界面元素都是继承自它,所以,CALayer 应用很广泛2.CALayer 能够对 UIView 做许多设定,如:阴影、边框、圆角和透明...
分类:其他   时间:2014-03-27 07:08:27    收藏:0  评论:0  赞:0  阅读:562
qt qml c++ 画动态折线图
qt版本5.2 QtQuick2.0  显示:可横向拖动  源码地址 http://download.csdn.net/detail/zzjzmdx/7102585  源码包包含:main.cpp app.qml linechart.cpp linechart.h...
分类:编程语言   时间:2014-03-27 01:12:58    收藏:0  评论:0  赞:0  阅读:2100
Android View的onTouchEvent和OnTouch区别
还是以自定义的TestButton为例。 我们可以通过重写onTouchEvent方法来处理诸如down move up的消息: public class TestButton extends Button { public TestButton(Context context) { super(context); // TODO Auto-generated construc...
分类:移动平台   时间:2014-03-27 00:30:54    收藏:0  评论:0  赞:0  阅读:514
SGU 101 输出欧拉路径
Domino Time Limit:250MS   Memory Limit:4096KB   64bit IO Format:%I64d & %I64u [Submit]  [Go Back]  [Status]   Description Dominoes – game played with small, rectangular b...
分类:其他   时间:2014-03-27 00:20:38    收藏:0  评论:0  赞:0  阅读:460
Children’s Queue
Children’s Queue Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 10040    Accepted Submission(s): 3198 Problem Description There ar...
分类:其他   时间:2014-03-27 00:49:21    收藏:0  评论:0  赞:0  阅读:573
EF的增删改查
EF的增删改查:   using System; using System.Collections.Generic; using System.Data.Entity.Infrastructure; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading....
分类:其他   时间:2014-03-27 01:20:10    收藏:0  评论:0  赞:0  阅读:662
PhoneGap插件开发示例(iOS)
PhoneGap插件开发示例(iOS)  重要提示:如果你同时使用phonegap(cordova)和sencha-touch,一定先引入phonegap的js文件,否则你开发的插件可能不被调用! PhoneGap相关介绍: PhoneGap官网 PhoneGap中国 PhoneGap插件开发的简单步骤: 1 新建一个基于PhoneGap的工程,如果还没有PhoneGap SD...
分类:移动平台   时间:2014-03-27 01:24:45    收藏:0  评论:0  赞:0  阅读:584
当DG进行failover之后重新恢复DG(利用rman 11gduplicate的ADG特性)
1 主库设置为 force loging 模式   5:48:54 sys@felix SQL>alter database force logging;   -- 验证 : 16:10:00 sys@felix SQL>selectforce_logging from v$database;   FORCE_ ------ YES   查看主备库监听配置问题:   [...
分类:其他   时间:2014-03-27 00:40:32    收藏:0  评论:0  赞:0  阅读:514
大话の适配器模式VS外观模式
《大话设计模式》   看完这本书,最让我敬佩的不是大鸟,而是小菜。他的理解与接受能力真不是盖的,大鸟每讲一个模式他都能很快就能学会并且提出自己的见解。而对于我来说就难了,只觉得故事很有趣。。 前几天学习了适配器模式与外观模式,觉得它们有很多相似的地方,所以今天就放在一块讨论讨论吧。   适配器模式     一提到适配器模式,脑子里首先想到的便是姚明(记故事倒是挺准,看来也没白看)。它的...
分类:其他   时间:2014-03-27 00:28:18    收藏:0  评论:0  赞:0  阅读:511
逻辑DG之Standby角色转换
Primary: 1.检查当前Primary数据库的初始化参数: SQL> show parameter fal NAME                                 TYPE        VALUE ------------------------------------ ----------- ------------------------------ fal...
分类:数据库技术   时间:2014-03-27 00:59:39    收藏:0  评论:0  赞:0  阅读:627
启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
原因:eclipse的版本与jre或者jdk版本不一致 对策:要么两者都安装64位的,要么都安装32位的,不能一个是32位一个是64位。...
分类:系统服务   时间:2014-03-27 00:20:05    收藏:0  评论:0  赞:0  阅读:546
Oracle中常用的命令语句
Oracle中常用的命令语句 1.创建用户 create user 用户名 identified by 密码         注意:用户名和密码最好是英文 如:create user sms identified by sms; 2.创建表空间 create tablespace 表空间名 datafile '存放路径' size 大小 如:create tablespace ts...
分类:数据库技术   时间:2014-03-27 01:24:16    收藏:0  评论:0  赞:0  阅读:545
android应用不生成桌面应用图标
只需把以上的...
分类:移动平台   时间:2014-03-27 00:40:03    收藏:0  评论:0  赞:0  阅读:666
Java利用Axis远程调用WebService接口
准备工作:   主要依赖的包:   1.axis.jar   官网:http://axis.apache.org/axis/   2.jaxrpc.jar   下载地址:http://www.java2s.com/Code/Jar/j/Downloadjaxrpcjar.htm 说明:   在拿到wsdl地址后先分析清楚xml文件的一些参数,然后再动手写代码,例如service名称,...
分类:编程语言   时间:2014-03-27 00:43:10    收藏:0  评论:0  赞:0  阅读:491
LeetCode之Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You may assume no duplicates in the array. ...
分类:其他   时间:2014-03-27 01:02:14    收藏:0  评论:0  赞:0  阅读:419
解决NDK交叉编译 selected processor does not support ARM mode libtheora的错误
下载最新的libtheora, wget http://downloads.xiph.org/releases/theora/libtheora-1.2.0alpha1.tar.gz 解压缩,然后使用如下configure来编译 #!/bin/sh BUILD_PATH=/home/zangcf/ffmpeg/ffmpeg_arm/ffmpeg_build CC_PATH=/opt/and...
分类:其他   时间:2014-03-27 00:51:26    收藏:0  评论:0  赞:0  阅读:677
C#打印机操作类
using System; using System.Collections.Generic; using System.Text; namespace MacPrinter { public class ZPL_Command { /// (^EF) /// 清除设定 (已包含起始结束命令) /// ...
分类:其他   时间:2014-03-27 00:21:38    收藏:0  评论:0  赞:0  阅读:668
1240条   上一页 1 ... 43 44 45 46 47 ... 62 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!