文件名称:Demo4

  • 所属分类:
  • 控制台(字符窗口)编程
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2017-05-28
  • 文件大小:
  • 173kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • Cas****
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

字符串问题,大侦探福尔摩斯接到一张奇怪的字条:“我们约会吧! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfdk d&Hyscvnm”。大侦探很快就明白了,字条上奇怪的乱码实际上就是约会的时间“星期四 14:04”,因为前面两字符串中第1对相同的大写英文字母(大小写有区分)是第4个字母 D ,代表星期四;第2对相同的字符是 E ,那是第5个英文字母,代表一天里的第14个钟头(于是一天的0点到23点由数字0到9、以及大写字母A到N表示);后面两字符串第1对相同的英文字母 s 出现在第4个位置(从0开始计数)上,代表第4分钟。现给定两对字符串,请帮助福尔摩斯解码得到约会的时间。-String problem, big detective Sherlock Holmes received a strange note: We date it! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s & hgsfdk d & Hyscvnm . The big detective soon understood that the strange garbled character was actually the date of the date Thursday 14:04 because the first two strings in the first pair of the same capital letters (case distinction) was the fourth The letter D , on behalf of Thursday the second pair of the same character is E , that is the fifth English letter, representing the first 14 days of the day (so the day 0:00 to 23 points 0 to 9, And the letters A to N) the first two strings of the same pair of letters s appear in the fourth position (counted 0), representing the first 4 minutes. Given two pairs of strings, please help Sherlock Holmes decode the time to get the date.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





Demo4\Debug

.....\.....\Demo4.log

.....\.....\demo4.obj

.....\.....\Demo4.tlog

.....\.....\..........\CL.read.1.tlog

.....\.....\..........\CL.write.1.tlog

.....\.....\..........\Demo4.lastbuildstate

.....\.....\..........\link.read.1.tlog

.....\.....\..........\link.write.1.tlog

.....\.....\vc120.idb

.....\.....\vc120.pdb

.....\demo4.cpp

.....\Demo4.vcxproj

.....\Demo4.vcxproj.filters

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org