摘要: #include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int maxn = 40010;//最大学生人数 bool check(char c){ if(c >= '0' && c< 阅读全文
posted @ 2020-01-16 22:11 JasonPeng1 阅读(155) 评论(0) 推荐(0)
摘要: 用了打表的技巧 #include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int maxn = 40010;//最大学生人数 //[0,12]的火星文 string unitDigit 阅读全文
posted @ 2020-01-16 21:33 JasonPeng1 阅读(258) 评论(0) 推荐(0)
摘要: 超时主要是这个语句的原因: for(iter = temp[num1].begin();iter != temp[num1].end();++iter){ for(iter1 = temp[num2].begin();iter1 != temp[num2].end();++iter1){ if(*i 阅读全文
posted @ 2020-01-16 13:04 JasonPeng1 阅读(234) 评论(0) 推荐(0)