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

蟲蟲首頁(yè)| 資源下載| 資源專輯| 精品軟件
登錄| 注冊(cè)

您現(xiàn)在的位置是:蟲蟲下載站 > 資源下載 > 其他 > 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
  • 上傳時(shí)間: 2015-10-27
  • 上傳用戶:foreigngirl
  • 資源積分:2 下載積分
  • 標(biāo)      簽: the contains integer number

資 源 簡(jiǎn) 介

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

相 關(guān) 資 源

主站蜘蛛池模板: 长沙市| 思茅市| 漠河县| 从化市| 资讯 | 郧西县| 安溪县| 余江县| 汝阳县| 永和县| 泌阳县| 公安县| 偏关县| 斗六市| 乌拉特中旗| 建湖县| 石柱| 阳谷县| 手游| 原平市| 邹平县| 唐河县| 扶沟县| 安多县| 阿鲁科尔沁旗| 阜新| 资兴市| 禹州市| 龙游县| 睢宁县| 萍乡市| 兴和县| 花莲市| 天全县| 六盘水市| 衡东县| 加查县| 河西区| 定西市| 巴塘县| 静宁县|