摘要:
刚开始看错题意,以为防御全部都要缓冲,wa了几次,重新看题才知道是部分缓冲。ans = 总的攻击次数 - 防御次数View Code 1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <cstdlib> 7 #include <sstream> 8 #include <iostream> 9 #include <cmath>10 #include <cstring>11 #include <algorithm>12 阅读全文