摘要:
Description 为了庆祝 NOI 的成功开幕,主办方为大家准备了一场寿司晚宴。小 G 和小 W 作为參加 NOI 的选手,也被邀请參加了寿司晚宴。 在晚宴上,主办方为大家提供了 n−1 种不同的寿司,编号 1,2,3,…,n−1。当中第 i 种寿司的美味度为 i+1 (即寿司的美味度为从 2 阅读全文
posted @ 2017-05-02 17:25
jhcelue
阅读(138)
评论(0)
推荐(0)
摘要:
在使用Navicat for MySQL还原数据库备份时。出现Incorrect integer value: '' for column 'id' at row 1的错误; 网上查资料发现5以上的版本号假设是空值应该要写NULL这样的问题一般mysql 5.x上出现。使用Select versio 阅读全文
posted @ 2017-05-02 16:01
jhcelue
阅读(440)
评论(0)
推荐(0)
摘要:
不论什么类型的指针都能够显式转换为void类型,且不会丢失数据。例如以下面程序: #include<stdio.h> int main(void) { short a=5; void *p1; short *p2; p1=(void *)&a; p2=(short *)p1; printf(“%d\ 阅读全文
posted @ 2017-05-02 14:54
jhcelue
阅读(860)
评论(0)
推荐(0)
摘要:
前言 在写开头的时候我想到了两个開始,比較一下 第一个开头:sql几种常见的查询连接方式 第二个开头:sql(结构化查询语言)有数据定义功能,数据查询功能,数据操作功能,数据控制功能。我们寻常所说的增删改查就是sql这些功能的更加简洁的说法。如今就"查"来介绍几种经常使用的连接方式。 哪一种更好?我 阅读全文
posted @ 2017-05-02 14:06
jhcelue
阅读(308)
评论(0)
推荐(0)
摘要:
<script language="javascript"> if(!IsPC()){ window.location.href="/m/"; //要跳转的地址,也能够跳转到 window.location.href="http://m.xxx.com/"; } function IsPC() { 阅读全文
posted @ 2017-05-02 13:25
jhcelue
阅读(212)
评论(0)
推荐(0)
摘要:
题目要求: Input a value n, then print out a n×n matrix. Example 1: Input 2, output 1 2 4 3 Example2: Input 5, output 1 2 3 4 5 16 17 18 19 6 15 24 25 20 7 阅读全文
posted @ 2017-05-02 12:40
jhcelue
阅读(370)
评论(0)
推荐(0)
摘要:
Gallery和swithcer联合使用 /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you 阅读全文
posted @ 2017-05-02 11:32
jhcelue
阅读(163)
评论(0)
推荐(0)
摘要:
若要改变CView,CFrameWnd或CWnd对象的背景颜色须要处理WM_ERASEBKGND消息 WM_ERASEBKGND Return Values An application should return nonzero if it erases the background; other 阅读全文
posted @ 2017-05-02 09:56
jhcelue
阅读(447)
评论(0)
推荐(0)
摘要:
在windows下,能够通过secureCRT的sz来下载文件,而用rz来上传文件。在unix/linux下则不必。由于scp命令能够完毕这项目工作。 sz file替代方案为:scp username@远程server地址:文件路径 本地存放文件夹路径 rz 替代方案为:scp 文件路径 user 阅读全文
posted @ 2017-05-02 08:53
jhcelue
阅读(287)
评论(0)
推荐(0)

浙公网安备 33010602011771号