摘要:
1 #include<iostream> 2 #include<vector> 3 #include<map> 4 5 using namespace std; 6 7 bool compare(int a, int b) 8 { 9 return a > b; 10 } 11 12 int mai 阅读全文
摘要:
1 //method2 手动排序 2 #include<iostream> 3 #include<string> 4 #include<vector> 5 #include<algorithm> 6 #include<windows.h> 7 8 using namespace std; 9 10 阅读全文
摘要:
1 //method1 使用map 2 #include<iostream> 3 #include<string> 4 #include<vector> 5 #include<map> 6 #include<windows.h> 7 8 using namespace std; 9 10 int m 阅读全文
摘要:
1 #include<iostream> 2 #include<string> 3 #include<vector> 4 #include<algorithm> 5 #include<iterator> 6 #include<windows.h> 7 8 using namespace std; 9 阅读全文