摘要: Notepad++搭配MinGW编译运行C,C++程序1:安装好MinGW及GCC编译器后,当然MinGW全安装最保险了,不会太费劲2:安装Notepad++,这个不用说了3:配置环境变量(注:可能需要重启后生效)计算机-->属性-->高级系统设置-->环境变量-->系统:path中添加C:\MinGW\bin;当然MinGW是安在C盘下,按不同路径修改4:打开Notepad++,编写一段C++代码并保存例如:#include using namespace std;int main(){int a, b;cout>a>>b){cout属性==> 阅读全文
posted @ 2013-10-17 22:40 围剿大叔 阅读(3213) 评论(0) 推荐(1) 编辑
摘要: #include #include #include #define MAXN 101using namespace std;int main(){ char c; double t,d,h; while(1) { t = MAXN; d = MAXN; h = MAXN; int cnt = 2; while(cnt--) { scanf("%c",&c); if(c=='E') return 0; ... 阅读全文
posted @ 2013-10-10 21:00 围剿大叔 阅读(246) 评论(0) 推荐(0) 编辑
摘要: ACM online Judge中国:浙江大学(ZJU):http://acm.zju.edu.cn/北京大学(PKU):http://acm.pku.edu.cn/JudgeOnline/杭州电子科技 大学(HDU):http://acm.hdu.edu.cn/中 国科技大学(USTC):http://acm.ustc.edu.cn/北京航天航空大学(BUAA)http://acm.buaa.edu.cn/oj/index.php南京航天航空 大学(NUAA)http://acm.nuaa.edu.cn华中科技大学(HUST)http://acm.hust.edu.cn/thx/哈尔滨工业大 阅读全文
posted @ 2013-10-10 19:00 围剿大叔 阅读(2126) 评论(0) 推荐(0) 编辑
摘要: 好久没写了,感觉只要一段时间不写代码什么的就手生了,所以还是要多多练习嘛国庆出去玩了4天,上了3天课,翘了7天的集训,然后被教练骂了。。。还不让我去参加区域赛了,哭瞎~好吧,开始做题了,目标3题 阅读全文
posted @ 2013-10-10 18:49 围剿大叔 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 11点40左右感到新校,我们到的时候才几个人啊.期间随便看了看网站,也就是苹果的发布会,等到12点开始做题了,不过队友还没有来啦,首先A了一道水水水题A Computer Graphics Problemhttp://acm.hdu.edu.cn/contests/contest_showproblem.php?pid=1001&cid=483按格式输出不同的符号而已直接贴代码了#include #include using namespace std;int main(){ int n,x; scanf("%d",&n); for(int i=1;i0;j 阅读全文
posted @ 2013-09-12 01:57 围剿大叔 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 开始上课咯 阅读全文
posted @ 2013-09-09 21:08 围剿大叔 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 据说这货很吊的样子,就学习了下,确实很难上手,要记很多命令的说,不过功能确实强大,我准备先把这货弄成C/C++的一个开发环境,所以选择了叫cvim的一个插件,这个插件的好处在于可以用快捷键插入函数,用起来很爽网上的快捷键参考的过时了,所以去官方网站http://www.vim.org/scripts/script.php?script_id=213上下了一个来看看先存在这,自己慢慢记下来V IM -P LUGINc-support.vimV ERSION 6.0H OT KEYSKey mappings for Vim with and without GUI.Plugin: http://v 阅读全文
posted @ 2013-08-20 17:23 围剿大叔 阅读(399) 评论(0) 推荐(0) 编辑
摘要: A#include #include #include #include #include #includeusing namespace std;int t,n,m,r,s,q,p,c;double score[505];int rList[505],sList[505],jamList[1005];class Competition{public: int rank; string team;};Competition com[505];class People{ public: string team; string name; char sex; ... 阅读全文
posted @ 2013-08-17 14:30 围剿大叔 阅读(396) 评论(0) 推荐(0) 编辑
摘要: Jungle RoadsTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 1301DescriptionThe Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was spent on extra roads between villages some years ago. But the jungle overtakes r 阅读全文
posted @ 2013-08-16 16:46 围剿大叔 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Connect the CitiesTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 3371DescriptionIn 2100, since the sea level rise, most of the cities disappear. Though some survived cities are still connected with others, but most of them become disconnected. The gover 阅读全文
posted @ 2013-08-16 13:17 围剿大叔 阅读(220) 评论(0) 推荐(0) 编辑