3084: 切割蛋糕
Memory Limit:256 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:1
Solved:1
Description
有一块矩形蛋糕,小明从蛋糕的正上方横向和纵向各切N刀(1
Input
输入一个正整数N(1
Output
输出一个整数,表示蛋糕最后被切割成了几块
Sample Input Copy
2
Sample Output Copy
9