文件名称:Devide-by-3-and-5
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:7.13kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
能被15整除的最大整数
给定一个只包含数字(0..9)的字符串,求使用字符串中的某些字符,构造一个能够被15整除的最大整数,注意,字符串中的每个字符只能适用一次。
输入:程序从标准输入读入数据,每行数据由一串数字组成,长度为1到1000.
输出:针对每一行输入,输出一个结果,每个结果占一行,如果无法构造出能够呗15整除的整数,请输出impossible
-Be the largest integer divisible by 15, given a contains only numbers (0 .. 9), string, requiring use of certain characters in the string, one can construct the largest integer divisible by 15, note that each string characters can only be applied once. Input: program read from standard input data, each row of data from the string of numbers, a length of 1 to 1000. Output: for each line of input, output a result of the row for each result, if you can not divisible by 15 is constructed to chant integer, please output impossible
给定一个只包含数字(0..9)的字符串,求使用字符串中的某些字符,构造一个能够被15整除的最大整数,注意,字符串中的每个字符只能适用一次。
输入:程序从标准输入读入数据,每行数据由一串数字组成,长度为1到1000.
输出:针对每一行输入,输出一个结果,每个结果占一行,如果无法构造出能够呗15整除的整数,请输出impossible
-Be the largest integer divisible by 15, given a contains only numbers (0 .. 9), string, requiring use of certain characters in the string, one can construct the largest integer divisible by 15, note that each string characters can only be applied once. Input: program read from standard input data, each row of data from the string of numbers, a length of 1 to 1000. Output: for each line of input, output a result of the row for each result, if you can not divisible by 15 is constructed to chant integer, please output impossible
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Program.cs
Properties/AssemblyInfo.cs
dev_by15.csproj
dev_by15.sln
dev_by15.suo
Properties/AssemblyInfo.cs
dev_by15.csproj
dev_by15.sln
dev_by15.suo
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.