Trang chủ
Problems
Submissions
Users
Contests
Groups
Courses
About
Status
Report
Bug Report
Tiếng Việt
Tiếng Việt
English
Đăng nhập
Sign up
This site works best with JavaScript enabled.
Quy luật
View as PDF
Submit
All submissions
Best submissions
Problem types
dp-general, math
Points:
100
Time limit:
1.0s
Memory limit:
640M
Input:
stdin
Output:
stdout
Cho
\(f(i, j)\)
được tính theo công thức sau.
Input
2 số nguyên dương
\(x,y(x \leq 10^9,y \leq 5)\)
.
Output
\(f(x,y)\)
.
Example
Test 1
Input
6 3
Output
25
Comments
There are no comments at the moment.
Comments