02 2022 档案

摘要:AcWing 1232. 三体攻击(蓝桥杯C++ AB组辅导课) - AcWing 阅读全文
posted @ 2022-02-27 11:26 兮何其 阅读(8) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <iostream> #include <cstring> #include <algorithm> using namespace std; void swap(int &a ,int &b) { int temp=a; a=b; b=te 阅读全文
posted @ 2022-02-27 10:32 兮何其 阅读(14) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <vector> using namespace std; int length,n; vector<vector<int>> ans; void find(vector<int> &a,vector<int> &t,int index){ 阅读全文
posted @ 2022-02-22 18:09 兮何其 阅读(30) 评论(0) 推荐(0) 编辑
摘要:当用char数组时候,cin.getline(c,20); 第一个参数是char数组名,第二个是带输入的字符串的最大长度 当用string接收的时候,用getline(cin,s); 第一个是确定从键盘输入,第二个参数是string名 注意:当前面有cin时,要加上getchar(); 阅读全文
posted @ 2022-02-08 09:51 兮何其 阅读(139) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示