随笔分类 - 基础算法
摘要:点击查看代码 #include<bits/stdc++.h> using namespace std; int data1, data2, ans = 0, sum; int d[13] = {0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; i
阅读全文
摘要:点击查看代码 #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 10; int m, n, ans = 0; int lists[500]; int steps[25]; int machine[25][N]; int
阅读全文