摘要:
题意:0~n-1的数组,初始值为0;执行m个操作,每次操作执行后输出当前值为0的连续段的段数。操作1: pi j : i~j区间的每个元素值减1操作2: r i j:i~j区间的每个元素值加1,每个r操作之前,一定有个相应的p操作数据范围:1 #include using namespace std... 阅读全文
摘要:
4072. 3D Birds-Shooting GameTime Limit: 3.0 Seconds Memory Limit: 65536K Total Runs: 167 Accepted Runs: 37There are N birds in a 3D space, let x, y an... 阅读全文