摘要: 水题,坑,开始数组给小了,一支PE,后开始用动态delete位置放错,放在while循环里面只申请了一片位置,多次释放会出错,一直WA 一开始的数组#include #include #include using namespace std;char str[105];int main(){ ... 阅读全文
posted @ 2016-04-10 17:54 弃用博客 阅读(122) 评论(0) 推荐(0)
摘要: 超级简单的一道题,超级水 #include using namespace std;int main(){ int T; int Y,N; cin>>T; while(T--){ cin>>Y>>N; int cnt = 0; for(;cnt<N;Y++) ... 阅读全文
posted @ 2016-04-10 00:17 弃用博客 阅读(113) 评论(0) 推荐(0)