#C10902. 偶数累加
偶数累加
Background背景
读入n个变量取其中偶数并求和。
Input输入
输入两行
第一行一个整数n,表示有n个数。
第二行,输入n个数,以空格隔开。
Output输出
偶数的和。
Samples样例
5
11 22 33 44 55
66
Limitation限制
1s, 1024KiB for each test case.
读入n个变量取其中偶数并求和。
输入两行
第一行一个整数n,表示有n个数。
第二行,输入n个数,以空格隔开。
偶数的和。
5
11 22 33 44 55
66
1s, 1024KiB for each test case.
By signing up a 霖家编程 universal account, you can submit code and join discussions in all online judging services provided by us.