摘要: 实现 #include <cstdio> #include <cstring> #include <algorithm> #define MAX_ORDER_NUM 0x1400 using namespace std; struct order { int type; // 0: buy, 1: 阅读全文
posted @ 2020-08-26 17:23 amonqsq 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 实现 #include <cstdio> #include <algorithm> #define MAXN 0x3ef int nums[MAXN]; int main() { int num; scanf("%d",&num); for (int i = 0;i < num;++i) { sca 阅读全文
posted @ 2020-08-26 11:17 amonqsq 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 实现 #include <cstdio> #define MAX_SIZE 0x70 int map[MAX_SIZE][MAX_SIZE]; int main() { int num_triangle; scanf("%d",&num_triangle); for (int i = 0;i < n 阅读全文
posted @ 2020-08-26 11:06 amonqsq 阅读(41) 评论(0) 推荐(0) 编辑