摘要:
//挑战P33// 输入 /* 注意下,使用gets()函数时,可能导致WA 原因及应对见 http://blog.csdn.net/qwb492859377/article/details/48323443 但是,能不用尽量不用吧!*/#include usi... 阅读全文
posted @ 2017-08-28 16:52
mofushaohua
阅读(109)
评论(0)
推荐(0)
摘要:
//有一句话很容易忽视入坑,"Candies, which guys got from each other, they don't consider as their own."//他们并不把对方给的,当作是自己的,相当于只是做减法,不必做加法,一开始审题不清,忽视... 阅读全文
posted @ 2017-08-28 16:51
mofushaohua
阅读(141)
评论(0)
推荐(0)
摘要:
//其实也算水题,关键是要耐心做,不要浮躁#include #include #include #include using namespace std;const int maxn = 205;string name[maxn];int ans[maxn];int ... 阅读全文
posted @ 2017-08-28 16:49
mofushaohua
阅读(133)
评论(0)
推荐(0)
摘要:
//本来想用数组,结果RE,后来发现只是需要判定最后一个,并不需要数组//可是,然后就,WA了.../*WA#include #include #include using namespace std;typedef long long ll;int n;int ma... 阅读全文
posted @ 2017-08-28 16:47
mofushaohua
阅读(146)
评论(0)
推荐(0)
摘要:
/*一开始没怎么想,直接就用一想就能想到的方法,果不其然,TLETLE代码:#include #include #include using namespace std;typedef long long ll;ll n;int main(){ int a, x; w... 阅读全文
posted @ 2017-08-28 16:45
mofushaohua
阅读(152)
评论(0)
推荐(0)