CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 Windows编程 控制台(字符窗口)编程

文件名称:2008

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2014-05-07
  • 文件大小:
    1.49kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

北航2008复试上机。

1.素数

输入一个整数,要求输出所有从1到这个整数之间个位为1的素数,如果没有则输出-1(30分)





2.旋转矩阵



任意输入两个9阶以下矩阵,要求判断第二个是否是第一个的旋转矩阵,如果是,输出旋转角度(0、90、180、270),如果不是,输出-1。

要求先输入矩阵阶数,然后输入两个矩阵,每行两个数之间可以用任意个空格分隔。行之间用回车分隔,两个矩阵间用任意的回车分隔。(60分)



3.字符串匹配



从string.in中读入数据,然后用户输入一个短字符串。要求查找string.in中和短字符串的所有匹配,输出行号、匹配字符串到string.out文件中。匹配时不区分大小写,并且可以有一个用中括号表示的模式匹配。如“aa[123]bb”,就是说aa1bb、aa2bb、aa3bb都算匹配。(60分)-Northern retest the 2008 machine. 1 Enter an integer prime numbers, the required output from all the prime numbers between 1 to the integer bit is 1 if there is no output-1 (30 points) 2. Rotation matrix arbitrary input two 9-order following matrix, requiring judgment first two if the first rotation matrix, if it is, the output rotation angle (0,90,180,270), if not, outputs-1. Asked to enter the matrix of the order, and then enter the two matrices can be separated by a space between any two numbers in each row. Separated by a carriage return between the lines, separated by a carriage return between two arbitrary matrix. (60 points) 3. String.in string matching reads from the data, and then the user enters a short string. Find string.in requirements and all matches in the output line number of short strings match string to string.out file. When the match is not case sensitive, and can have a matching pattern indicated in parentheses. Such as " aa [123] bb" , that is to say aa1bb
(系统自动生成,下载前可以参看下载内容)

下载文件列表

2008_01.c
2008_02.c
2008_03.c

相关说明

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

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com