09 2020 档案

摘要:#include <iostream> #include <cstring> #include <algorithm> using namespace std; struct person { string id; int virtue, talent, sum; int type;//12345 阅读全文
posted @ 2020-09-30 10:10 幻想Elapse 阅读(103) 评论(0) 推荐(0) 编辑
摘要:注意事项: 八千万八千(√),八千万零八千(×) 输入为0时单独判断 #include <iostream> #include <cstring> using namespace std; int main() { char out_num[10][5] = { "yi","er","san","s 阅读全文
posted @ 2020-09-29 22:30 幻想Elapse 阅读(126) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <cstring> using namespace std; int main() { int N; cin >> N; char ch; int k = -1; char(*s)[300] = new char[101][300]; int 阅读全文
posted @ 2020-09-29 09:25 幻想Elapse 阅读(130) 评论(0) 推荐(0) 编辑
摘要:sort排序 #include <iostream> #include <algorithm> using namespace std; int main() { ios::sync_with_stdio(false); int N, M; cin >> N >> M; int* s = new i 阅读全文
posted @ 2020-09-28 23:04 幻想Elapse 阅读(70) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <cstring> using namespace std; int main() { char s[10000]; char res[10000]; cin >> s; int len = strlen(s); int pos = 0; w 阅读全文
posted @ 2020-09-28 16:26 幻想Elapse 阅读(96) 评论(0) 推荐(0) 编辑
摘要:参考 #include <iostream> #include <map> using namespace std; typedef long long int INT; int main() { ios::sync_with_stdio(false); INT n,a,b; INT sum = 0 阅读全文
posted @ 2020-09-27 17:24 幻想Elapse 阅读(111) 评论(0) 推荐(0) 编辑
摘要:1 #include <iostream> 2 #include <cstdio> 3 using namespace std; 4 struct DOT 5 { 6 int x, y; 7 int type;//A1,B0 8 }; 9 int main() 10 { 11 int dot, ju 阅读全文
posted @ 2020-09-27 13:30 幻想Elapse 阅读(145) 评论(0) 推荐(0) 编辑