摘要:
关键点: 无; 基本思想: 无; #include<iostream> #include<string> #include<vector> #include<algorithm> using namespace std; int ht[101]; int main() { int n; int a; 阅读全文
摘要:
基本思想: 优先队列保证数值最小; 关键点: 无; #include<iostream> #include<string> #include<vector> #include<queue> using namespace std; int main() { int n; int a; while ( 阅读全文
摘要:
基本思想: 无; 关键点: 无; #include<iostream> #include<string> #include<vector> using namespace std; void devide(string s, int n, int& r) { for (int i = 0; i < 阅读全文
摘要:
基本思想: 注意取模公式: 关键点: 无; #include<iostream> #include<vector> using namespace std; const int mod = 10000; int a, b, p, q, k; int num[mod]; void init() { n 阅读全文