当前位置: 首页 > news >正文

网站地图什么意思门户网站cms程序

网站地图什么意思,门户网站cms程序,苍南具城乡建设局网站,蓬莱做网站那家好Problem - B - Codeforces 问题描述#xff1a;excel有两种情况#xff0c; Rr_nCc_n#xff1a;R行数C列数ZZZ(列数)行数。 对这两个进行相互转换。 细节#xff1a; 准确判断这两种情况 string str; cinstr; auto posR str.find(R), posC st…Problem - B - Codeforces 问题描述excel有两种情况 Rr_nCc_nR行数C列数ZZZ(列数)行数。 对这两个进行相互转换。 细节 准确判断这两种情况 string str; cinstr; auto posR str.find(R), posC str.find(C); bool fg false; if(isdigit(str[posR1])) fg true; if(fg posR ! -1 posC ! -1 posR posC) {// 第一种情况 } else {// 第二种情况 }十进制到26进制带字母注意 ‘A’‘Z’。 col ( (cv % 26 0 ? 25 : cv % 26 - 1) A); if(cv % 26 0) cv--; cv / 26;AC代码 #include iostream #include vector #include string #include cstring #include set #include map #include queue #include ctime #include random #include sstream #include numeric #include stdio.h #include functional #include bitset #include algorithm using namespace std;// #define Multiple_groups_of_examples #define IOS std::cout.tie(0);std::cin.tie(0)-sync_with_stdio(false); #define dbgnb(a) std::cout #a a \n; #define dbgtt cout !!!test!!! endl; #define rep(i,x,n) for(int i x; i n; i)#define all(x) (x).begin(),(x).end() #define pb push_back #define vf first #define vs secondtypedef long long LL; typedef pairint,int PII;const int INF 0x3f3f3f3f; const int N 2e5 21;void inpfile(); void solve() {int n; cinn;while(n--) {string str; cinstr;auto posR str.find(R), posC str.find(C);bool fg false;if(isdigit(str[posR1])) fg true;if(fg posR ! -1 posC ! -1 posR posC) {// R ... C ...int rv 0, cv 0;posR;while(isdigit(str[posR])) {rv rv * 10 str[posR] - 0;posR;}posR;while(isdigit(str[posR])) {cv cv * 10 str[posR] - 0;posR;}string col ;while(cv) {col ( (cv % 26 0 ? 25 : cv % 26 - 1) A);if(cv % 26 0) cv--;cv / 26;}reverse(all(col));coutcol; coutrvendl;} else {int pos 0;while(isalpha(str[pos])) {pos;}int rv 0;string s ;for(int i 0; i pos; i) {s str[i];}int cv 0;for(int i 0; i pos; i) {cv cv * 26 (s[i] - A 1);}while(isdigit(str[pos])) {rv rv * 10 str[pos] - 0;pos;}coutRrvCcvendl;}} } int main() {#ifdef Multiple_groups_of_examplesint T; cinT;while(T--)#endifsolve();return 0; } void inpfile() {#define mytest#ifdef mytestfreopen(ANSWER.txt, w,stdout);#endif }
http://www.dnsts.com.cn/news/92742.html

相关文章:

  • 网站首页ico怎么做天津装修设计平台
  • 企业网站建设哪家便宜旅游网站介绍怎么写
  • 企业做网站公司有哪些公司在网站做广告怎么做分录
  • 微信朋友圈做网站推广赚钱吗wordpress国产课程主题
  • 网站装修怎么做如何配置php网站
  • 建设一个自己的网站首页城乡建设证书查询官网
  • 公司没有自己的网站广西桂林旅游攻略自由行最佳线路
  • 滨州哪里做网站iis7部署网站
  • 嘉兴百度网站推广开发程序员培训班
  • 安阳如何优化网站对网站建设建议
  • 做的很不好的网站自己建网站怎么弄
  • 西安seo哪家好郑州seo优化外包公司
  • python做网站点登入没反映wordpress 添加幻灯片
  • 网站建设用什么教材一个手机app开发需要多少钱
  • aspcms网络公司官方网站源码电脑平面设计培训班多少钱
  • 网站模板是什么意思2017国外优秀网站模版
  • 网站头部设计优化mysql进程太多wordpress
  • 如何写代码做网站6在工作室上班网站建设会好吗
  • 利用vs做网站百度推广和百度竞价有什么区别
  • 精湛的企业网站建设爱站网seo培训
  • 怎样发掘网站建设的客户天津河北做网站的公司排名
  • cc域名做网站怎么样求个没封的a站2022
  • 做网站的是些什么公司科技网络公司经营范围
  • 做二手房网站短网址生成器有哪些
  • 佛山高端网站开发公司东莞高端建站公司
  • 湖南大型网站建设平台推广
  • 海淀手机网站建设谷歌提交网站入口
  • 网站页面禁止访问郑州网站建设幸巴
  • 做网站的商家怎么后去流量费网站实名制认证备案
  • 潍坊市建设局网站html网页制作的软件下载