亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

您現在的位置是:蟲蟲下載站 > 資源下載 > 其他 > Input The first line of the input contains a single integer T (1 <= T <= 20), the number of t

Input The first line of the input contains a single integer T (1 <= T <= 20), the number of t

  • 資源大小:2 K
  • 上傳時間: 2015-10-27
  • 上傳用戶:foreigngirl
  • 資源積分:2 下載積分
  • 標      簽: the contains integer number

資 源 簡 介

Input The first line of the input contains a single integer T (1 <= T <= 20), the number of test cases. Then T cases follow. The first line of each case contains N, and the second line contains N integers giving the time for each people to cross the river. Each case is preceded by a blank line. There won t be more than 1000 people and nobody takes more than 100 seconds to cross. Output For each test case, print a line containing the total number of seconds required for all the N people to cross the river. Sample Input 1 4 1 2 5 10 Sample Output 17

相 關 資 源

主站蜘蛛池模板: 都匀市| 泾川县| 景洪市| 宽城| 新平| 玉树县| 介休市| 舒兰市| 弥渡县| 莆田市| 麻阳| 忻州市| 拉萨市| 庆元县| 民县| 晋州市| 华池县| 陆良县| 延安市| 兴山县| 明溪县| 吉隆县| 泽库县| 桐城市| 伊宁县| 安丘市| 香港 | 陆丰市| 济阳县| 兴化市| 全州县| 鄯善县| 都昌县| 大埔县| 石屏县| 双牌县| 元谋县| 汉寿县| 吉首市| 正蓝旗| 广西|