码迷,mamicode.com
首页 >  
搜索关键字:ruijie ws6816 ac ipv6    ( 13993个结果
linux概念之杂项
登录记录/var/run/utmp,/var/log/wtmpwtmp和utmp文件都是二进制文件,他们不能被诸如tail命令剪贴或合并(使用cat命令)。用户需要使用who、w、users、last和ac来使用这两个文件包含的信息。last命令往回搜索wtmp来显示自从文件第一次创建以来登录过的用...
分类:系统相关   时间:2014-07-18 14:21:39    阅读次数:331
POJ 1573 Robot Motion
题意:给你一个棋盘,上面的字母代表机器人要走的方向。如果机器人能走出这个棋盘,则输出机器人所走的步数,否则输出该机器人在走向无限循环前所走的步数,及无限循环所要走的格子数 思路:直接模拟,没有思路(大神可以多考虑些思路) AC代码: #include #include char str[12][12]; int flag[12][12]; int r,c,s,sum,loop; void ...
分类:其他好文   时间:2014-07-18 12:23:10    阅读次数:223
矩阵快速幂AC代码HDU 2035
#include using namespace std;const int MOD = 1000;//像这样的一个常量就应该专门定义一下int PowMod(int a, int n)//a^n%MOD { int ret = 1; while(n) { ...
分类:其他好文   时间:2014-07-18 12:15:38    阅读次数:190
Codeforces Round #256 (Div. 2) C (448C)Painting Fence
分治!首先是一大块,贪行刷和竖刷的最小,再转化为小块。。。。。。。。。。。。 AC代码如下: #include #include #include using namespace std; int n; int a[5005]; int solve(int l,int r) { int i,j; int len=r-l+1; ...
分类:其他好文   时间:2014-07-18 11:22:29    阅读次数:229
leetcode——Evaluate Reverse Polish Notation 求算式值(AC)
Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or another expression. Some examples: ["2", "1", ...
分类:其他好文   时间:2014-07-18 11:19:56    阅读次数:210
Codeforces Round #256 (Div. 2) B (448B) Suffix Structures
题意就是将第一个字符串转化为第二个字符串,支持两个操作,一个是删除,一个是更换字符位置。 简单的字符串操作!! AC代码如下: #include #include #include #include #define M 50010 #define inf 100000000 using namespace std; char a[1005],b[1005]; int la,lb; bo...
分类:其他好文   时间:2014-07-18 11:03:48    阅读次数:273
A ac a day,keep wa away
初学者题:1001 1037 1048 1049 1051 1067 1115 1151 1201 1205 1216 1240 1241 1242 1251 1292 1331 1334 1337 1338 1350 1365 1382 1383 1394 1402 1405 1414 1494 ...
分类:其他好文   时间:2014-07-18 10:22:36    阅读次数:556
CSU - 1224 ACM小组的古怪象棋
/*BFS,注意马脚!马脚WA了一次,后来WA了N次,最后发现输入时候将军和马的位置搞反,更改后AC*/1 #include 2 #include 3 #include 5 using namespace std; 6 const int maxn=10000,maxm=25; 7 int vis....
分类:其他好文   时间:2014-07-18 09:29:15    阅读次数:302
ZOJ - 1008 Gnome Tetravex
DFS题,类似八皇后问题,题目有点长,看了老半天才看懂。特别是上下左右数字要注意。还要注意剪枝,另外空行不能多输,输多了不能AC(运行速度有点慢,能AC但1940ms,估计还有待优化) 1 #include 2 #include 3 const int maxn=25+5; 4 int num[ma...
分类:其他好文   时间:2014-07-18 09:24:14    阅读次数:213
64位Linux下安装软件注意事项
执行到./configure--enable-shared一步时提示:checkinghostsystemtype...Invalidconfiguration`x86_64-unknown-linux-gnu‘:machine`x86_64-unknown‘notrecognized解决办法:cp/usr/share/libtool/config.guess.(覆盖到相关软件自带的config.guess,t1lib在解压包的ac-tools下)cp..
分类:系统相关   时间:2014-07-17 15:12:10    阅读次数:260
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!