tf girl

路漫漫其修远兮,吾将上下而求索。

导航

2014年7月27日 #

关于 C/C++左移右移运算符 的总结

摘要: 一、概述本文是根据整合网上资料与相关博文总结出来的关于【C/C++左移右移运算符 】的知识。二、正文(1)结合图示篇,更加简单明了。移位运算包含“逻辑移位”(logical shift)和“算术移位”(arithmetic shift)。逻辑移位:移出去的位丢弃,空缺位(vacant bit)用 0... 阅读全文

posted @ 2014-07-27 17:20 tf girl 阅读(13268) 评论(0) 推荐(0) 编辑

acm集训训练赛(二)D题【并查集】

摘要: 一、题目DescriptionThere is a town with N citizens. It is known that some pairs of people are friends. According to the famous saying that “The friends of... 阅读全文

posted @ 2014-07-27 16:38 tf girl 阅读(226) 评论(0) 推荐(0) 编辑

acm集训训练赛A题【签到题】

摘要: 一、题目DescriptionAfter winning gold and silver in IOI 2014, Akshat and Malvika want to have some fun. Now they are playing a game on a grid made ofnhori... 阅读全文

posted @ 2014-07-27 16:08 tf girl 阅读(639) 评论(0) 推荐(0) 编辑

acm集训训练赛B题【排序+模拟】

摘要: 一、原题DescriptionBeing a programmer, you like arrays a lot. For your birthday, your friends have given you an arrayaconsisting ofndistinctintegers.Unfor... 阅读全文

posted @ 2014-07-27 15:19 tf girl 阅读(328) 评论(1) 推荐(0) 编辑