摘要: 1 #include<iostream> 2 #include<vector> 3 4 using namespace std; 5 6 int main() 7 { 8 vector<int> v; 9 vector<int> result; 10 int n; 11 int a, b; 12 w 阅读全文
posted @ 2020-01-09 16:37 Huayra 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 1 #include<iostream> 2 #include<string> 3 #include<iterator> 4 5 using namespace std; 6 7 int main() 8 { 9 string sentence; 10 getline(cin, sentence); 阅读全文
posted @ 2020-01-09 15:36 Huayra 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 1 #include<iostream> 2 #include<vector> 3 4 using namespace std; 5 6 int main() 7 { 8 vector<int> v; 9 int n, m, element; 10 cin >> n >> m; 11 for (in 阅读全文
posted @ 2020-01-09 15:30 Huayra 阅读(476) 评论(0) 推荐(0) 编辑
摘要: 1 #include<iostream> 2 #include<vector> 3 #include<cmath> 4 5 using namespace std; 6 7 int main() 8 { 9 vector<int> prim; 10 int n; 11 cin >> n; 12 fo 阅读全文
posted @ 2020-01-09 14:41 Huayra 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 1 #include<iostream> 2 #include<stack> 3 4 using namespace std; 5 6 int main() 7 { 8 stack<char> s; 9 int n; 10 cin >> n; 11 int a = n % 10; 12 n /= 1 阅读全文
posted @ 2020-01-09 14:40 Huayra 阅读(420) 评论(0) 推荐(0) 编辑