下面开始用D3.js处理第一个简单问题,先看下面的代码:
HelloWorld
Hello World 1
Hello World 2
如果你学习过HTML,应该知道会在屏幕中输出两行文字,如下图:
如果想用...
/*
*Copyright (c) 2013, 烟台大学计算机学院
* All rights reserved.
* 作 者:马广明
* 完成日期:2014 年 5 月 18 日
* 版 本 号:v1.0
* 问题描述:摩托车继承自行车和机动车
*/
#include
#include
#include
using namespace std;
enum vehi...
/*
* Copyright (c) 2013, 烟台大学计算机学院
* All rights reserved.
* 作 者:马广明
* 完成日期:2014 年 5 月 27 日
* 版 本 号:v1.0
* 问题描述:动物这样叫
*/
#include
using namespace std;
class Animal
{
public:
vi...
??
IntentService is a base class for Services
that handle asynchronous requests (expressed as Intents)
on demand. Clients send requests through startService(Intent) calls;
the service is starte...
红色字体部分为关键,其他都是浮云。。
/**
*
* 由于该Service用于多线程下载文件,需要确保原子性,一直处理一个DownLoadFilePO对象
*
* detailed comment
* @see
* @since 1.0
*/
public class DownLoadService extends Service {
p...
腾讯微薄的分享与新浪的区别在于除了获取accessToken之外还需要获取openId
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.auth);
web = (WebView) findVi...
/*
* Copyright (c) 2013, 烟台大学计算机学院
* All rights reserved.
* 作 者:马广明
* 完成日期:2014 年 5 月 27 日
* 版 本 号:v1.0
* 问题描述:形状类中的纯虚函数
*/
#include
using namespace std;
const double PI=3.14;
class Sha...
/*
*Copyright (c) 2013, 烟台大学计算机学院
* All rights reserved.
* 作 者:马广明
* 完成日期:2014 年 5 月 19 日
* 版 本 号:v1.0
* 问题描述:日期时间类
*/
#include
using namespace std;
class Date
{
public:
Date(...
最近要毕业了,有半年没做比赛了.
这次参加百度之星的初赛娱乐一下.
现在写一下解题报告.
还是先看看四道题的类型吧
1.Scenic Popularity 暴力 复杂度O( 100 * 100 * 10000 ) 或者O( T * K * R) 线段树
2.Chess DP 复杂度 O(n^2)
3.Best Financing DP 复杂度O(n)
4.JZP Set 数论或DP 复杂度 O(n * log(n))...
今天在centOS下装mysql时出现了一个错误:
解决方案就是如图所示kill 4734 kill 4839
最后再执行[root@localhost src]# service mysql start就可以了...