F - Dragon Balls
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Five hundred years later, the number of dragon balls will increa...
分类:
其他好文 时间:
2014-07-30 17:44:23
阅读次数:
282
C - Eqs
Time Limit:5000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u
Submit Status
Description
Consider equations having the following form:
a1x1 3+ a2x2 3+ a3x3 3+ a...
分类:
其他好文 时间:
2014-07-30 17:34:13
阅读次数:
173
Piggy-Bank
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Before ACM can do anything, a budget must be prepared and the necessar...
分类:
其他好文 时间:
2014-07-30 17:26:54
阅读次数:
202
需要注意:如果字段为varchar类型,when后的条件要加上引号SELECT (CASE 'marital_status' WHEN 0 THEN '已婚' WHEN 1 THEN '未婚' ELSE 'WEIZHI' END) AS marital_status FROM tj_archive WHERE id='D1407280006'
用上面的语句,如果marital_status...
分类:
其他好文 时间:
2014-07-30 10:00:43
阅读次数:
189
D - Pots
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld
& %llu
Submit Status
Description
You are given two pots, having the volume of A and B liters respectively. ...
分类:
其他好文 时间:
2014-07-29 21:58:32
阅读次数:
402
问题:执行如下语句时出现大量Warning1292mysql>UPDATEshow_infoINNERJOINshow_likeONshow_like.show_id=show_info.show_idSETshow_info.status=0WHEREshow_like.show_id=1ANDshow_like.cid=‘taobao_mecity‘;QueryOK,0rowsaffected,99warnings(0.00sec)Rowsmatched:0Changed..
分类:
数据库 时间:
2014-07-29 18:23:22
阅读次数:
365
A - N!
Time Limit:5000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N!
...
分类:
其他好文 时间:
2014-07-29 18:06:02
阅读次数:
280
1256: 天朝的单行道Time Limit:1 SecMemory Limit:128 MBSubmit:159Solved:46[Submit][Status][Web Board]Description 在另一个平行宇宙中,有一个神奇的国度名叫天朝。天朝一共有N个城市(标号分别为1, 2, ....
分类:
其他好文 时间:
2014-07-29 16:57:42
阅读次数:
252
flush的常规用法:flushlogs:刷新二进制日志文件flushPRIVILEGES:刷新权限,修改权限或密码后,需要使用到该命令flushtables:关闭所有表,并清空缓存中的类容。flushtableswithreadlock:关闭所有打开的表,并且对所有DB中的表添加一个读锁,直到显示执行unlocktables。该命令..
分类:
其他好文 时间:
2014-07-29 15:50:04
阅读次数:
190
先介绍一下CentOS7下系统的服务启动关闭的变化service服务名start/stop/status==systemctlstart/stop/status服务名chkconfig--list==systemctllist-units-typechkconfig服务名on/off==systemctlenable/disable服务名(具体的级别看配置文件)2.要将某个服务添加为系统服务(以ngin..
分类:
其他好文 时间:
2014-07-29 15:48:29
阅读次数:
182