N数之和(三)
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目描述
分别求出 中偶数和奇数的和。
输入格式
一个正整数 。
输出格式
一行,两个数,分别表示偶数之和、奇数之和,中间以一个空格隔开。
样例 #1
样例输入 #1
10
样例输出 #1
30 25
数据范围
随堂小测
- Status
- Done
- Rule
- IOI
- Problem
- 5
- Start at
- 2025-11-8 8:45
- End at
- 2025-12-8 8:45
- Duration
- 1.5 hour(s)
- Host
- Partic.
- 29