Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Mathimatics-Numerical algorithms Algorithm
  • Category : Algorithm
  • Tags :
  • Update : 2013-12-07
  • Size : 1kb
  • Downloaded :0次
  • Author :高云
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
问题描述: 现在有一个简单游戏:给你一行n个整数,要求你在两两之间放入“+”、“-”、“*”、“/”等符号共n-1个,使得表达式计算结果最大且不包含数字k。 请注意: 1) 表达式自左向右运算,不考虑优先级,例如:6+7*11=143; 2) 减法计算结果都为非负,即a-b定义为|a-b|,例如:2-5=3; 3) 除法计算结果向下取整,且除数不得为0,例如:7/5=1。 ★实验任务: 现请你写一个程序,求出这个最大值。 ★数据输入: 输入数据第一行为两个整数n(2≤n≤9)和k(0≤k≤9),第二行为n个小于100的非负整数。 ★结果输出: 输出一行一个整数,为所求的不包含数字k的最大结果,如果不存在这样的结果,请输出“No result”。
Packet file list
(Preview for download)


5464.cpp
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
DSSZ is the largest source code store in internet!
Contact us :
1999-2046 DSSZ All Rights Reserved.