摘要:
Price List 题意: 有n件商品,每天只能买一件,并且会记录账本,问有多少次一定记多了? 题解: 就是求和,最后如果大于和就输出1,否则0。 代码: include using namespace std; typedef long long ll; define SI(N) cin (N) 阅读全文
摘要:
UVA 1585 这题我居然wa了3次,看来我真的好渣,想了想我的是当只有一个O的时候越界了,果然还是代码风格太差,需要改进!! include using namespace std; typedef long long ll; const int INF=0x3f3f3f3f; const ll 阅读全文