SASM 是 NASM, MASM, GAS 和 FASM 汇编语言的跨平台 IDE,简单并且开源(腾云科技ty300.com)。SASM 支持语法高亮和调试器,开箱即用,适合汇编语言的初学者(基础教程qkxue.net)。遵循 GNU GPL v3.0 开源授权协议,基于 Qt。2013 年发布了 ...
分类:
其他好文 时间:
2016-09-10 22:03:14
阅读次数:
940
输入两个数组,gas[i]表示在i位置能加的油,cost[i]表示在i位置到i+1位置消耗的油,这n个位置围成一个圈,求是否存在从某一点出发能走完全程 第一想法是贪心,先处理处gas[i]/cost[i],然后从这个比值最大的点开始走,但找到反例:(5,4),(6,4),(5,5),(4,7),按刚 ...
分类:
其他好文 时间:
2016-08-31 15:36:51
阅读次数:
152
Description As the new term comes, the Ignatius Train Station is very busy nowadays. A lot of student want to get back to school by train(because the ...
分类:
其他好文 时间:
2016-08-23 20:19:23
阅读次数:
182
题目地址:http://acm.split.hdu.edu.cn/showproblem.php?pid=4435
思路:编号大的点应尽量避免建立加油站(2^0+2^1+2^2+......+2^id则不符合题意(从某加油站出发到i,从i并不能返回加油)。若i为加油站,则若从加油站1不能到达i,则不满足题意)。若不符合,则该点必须建立加油站。
#include
#include
#includ...
分类:
其他好文 时间:
2016-08-19 22:16:17
阅读次数:
148
贪心。当前位置满油可达的gas station中,如果有比它小的,则加油至第一个比他小的。没有,则加满油,先到达这些station中最小的。注意数的范围即可。 ...
分类:
其他好文 时间:
2016-08-17 10:15:18
阅读次数:
154
Ducomet, Bernard; Ne?asová, ?árka; Vasseur, Alexis. On global motions of a compressible barotropic and selfgravitating gas with density-dependent visc ...
分类:
其他好文 时间:
2016-08-11 09:46:09
阅读次数:
88
A bit Greedy can achieve O(m) - the mid station between 2 adjacent cities has the longest distance within that range. ...
分类:
其他好文 时间:
2016-08-07 15:14:47
阅读次数:
208
Mining Station on the Sea Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2997 Accepted Submissio ...
分类:
编程语言 时间:
2016-08-03 21:58:06
阅读次数:
276
Building a Space Station Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 7469 Accepted: 3620 Description You are a member of the space stat ...
分类:
其他好文 时间:
2016-08-02 15:14:54
阅读次数:
243
本文主要分析MII/RMII/SMII,以及GMII/RGMII/SGMII接口的信号定义,及相关知识,同时本文也对RJ-45接口进行了总结,分析了在10/100模式下和1000M模式下的设计方法。 MII接口提供了MAC与PHY之间、PHY与STA(Station Management)之间的互联 ...
分类:
其他好文 时间:
2016-07-31 17:35:57
阅读次数:
232