API Response (JSON)
{
"problem": {
"name": "B. Odd sum",
"description": {
"content": "You are given sequence _a_1, _a_2, ..., _a__n_ of integer numbers of length _n_. Your task is to find such subsequence that its sum is odd and maximum among all such subsequences. It's guaranteed that",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF797B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given sequence _a_1, _a_2, ..., _a__n_ of integer numbers of length _n_. Your task is to find such subsequence that its sum is odd and maximum among all such subsequences. It's guaranteed that...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "给定一个长度为 #cf_span[n] 的整数序列 #cf_span[a1, a2, ..., an]。你的任务是找到一个子序列,使得其交错和为奇数,并且在所有满足此条件的子序列中最大。题目保证给定序列中至少存在一个交错和为奇数的子序列。\n\n子序列是指通过删除原序列中的一些元素(不改变剩余元素的顺序)而得到的序列。\n\n你需要编写一个程序,找出最优子序列的和。\n\n第一行包含整数 #cf_span[n...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $ denote the length of the sequence. \nLet $ A = (a_1, a_2, \\dots, a_n) $ be a sequence of integers, where $ a_i \\in \\mathbb{Z} $ and $ -10^4 \\leq a_i \\leq 1...",
"is_translate": false,
"language": "Formal"
}
]
}