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
标签: the contains integer number
上传时间: 2015-10-27
上传用户:plsee
OpenSS7 This the fourth public release of the OpenSS7 Master Package. See README in the release for a sub-package listing. Most of the sub-packages in the release are production grade for Linux Fast-STREAMS. All existing validation test suites run clean on supported distributions and architectures. It is unlikely that the OpenSS7 Master Package will be released as frequently as before. Sub-packages will be released more often. To rebuild the master package with a new sub-package release, simply replace the directory to which the sub-package belongs with the unpacked sub-package release and then rebuild the master package. This release provides support for recent distributions and tool chains.
标签: OpenSS7 release the Package
上传时间: 2015-10-28
上传用户:cc1
The CUBA library provides new implementation of four general-purpose multidimensional integration algorithms: Vegas, Suave, Divonne, and Cuhre. Suave is a new algorithm, Divonne is a known algorithm to which important details have been added, and Vegas and Cuhre are new implementations of existing algorithms with only few improvements over the original versions. All four algorithms can integrate vector integrands and have very similar Fortran, C/C++, and Mathematica interfaces.
标签: multidimensional general-purpose implementation integration
上传时间: 2014-09-09
上传用户:gxf2016
1. OS版本为2.76 2. 使用Timer0的比较匹配中断为系统定时,频率为100Hz 3. 三种临界代码保护方式均可以使用,在OS_CPU.h里直接设置即可 如果安装了WinAVR20050214,则直接运行start.bat,输入make all即可开始编译。 如果需要在AVRStudio仿真,运行make extcoff后即可生成调试所需的cof文件。
上传时间: 2014-01-11
上传用户:chens000
Developers use algorithms and data structures every day of their working lives. Having a good under-standing of these algorithms and knowledge of when to apply them is essential to producing softwarethat not only works correctly, but also performs efficiently. This book aims to explain those algorithms and data structures most commonly encountered in day-to-day software development, while remaining at all times practical, concise, and to the point, with little orno verbiage to distract from the core concepts and examples.
标签: Developers algorithms structures working
上传时间: 2015-11-03
上传用户:wyc199288
这是LInux下C语言开发的推箱子游戏。对学习curese编程的人有帮助 用了大量的Curese函数,此游戏可建立关卡。默认有10关。 作者 /* File: tuixiangzi.c */ Makefile如下: all: tuixiangzi tuixiangzi: tuixiangzi.c gcc -o tuixiangzi tuixiangzi.c -lcurses clean: rm -f tuixiangzi *.bak
上传时间: 2013-12-21
上传用户:bakdesec
%WAVETEST Example Matlab script for WAVELET, using NINO3 SST dataset % % See "http://paos.colorado.edu/research/wavelets/" % Written January 1998 by C. Torrence % % Modified Oct 1999, changed Global Wavelet Spectrum (GWS) to be sideways, % changed all "log" to "log2", changed logarithmic axis on GWS to % a normal axis.
标签: WAVETEST colorado Example WAVELET
上传时间: 2014-01-06
上传用户:hullow
uC/OS-II Notes from Nohau Corporation The code associated with this readme.txt file is provided "as is". The code was written with the intention of creating a functional RTOS demo for the Nohau evaluation boards that can run a MicroBlaze core. You can use this code for any and all of your projects, as you see fit. Nohau Corporation does not warrant that the code is bug-free, and will provide no support for this RTOS port.
标签: Corporation associated provided readme
上传时间: 2013-12-27
上传用户:tzl1975
The purpose of this application note is to describe the main elements of an RS-422 and RS-485 system. This application note attempts to cover enough technical details so that the system designer will have considered all the important aspects in his data system design. Since both RS-422 and RS- 485 are data transmission systems that use balanced differential signals, it is appropriate to discuss both systems in the same application note. Throughout this application note the generic terms of RS-422 and RS-485 will be used to represent the EIA/TIA-422 and EIA/TIA-485 Standards.
标签: application describe elements purpose
上传时间: 2013-12-29
上传用户:sxdtlqqjl
DSP/BIOS Driver Developer Kit 1.11 The DSP/BIOS Driver Developer Kit (DDK) provides a selection of pre-tested DSP/BIOS device drivers, and documentation on how to write a driver to the DSP/BIOS driver model, known as IOM. The DDK includes C source code for all drivers. The DDK 1.11 has been validated with CCS 3.1 and DSP/BIOS 5.20.
上传时间: 2014-11-23
上传用户:maizezhen