• [1278] Disruptive TT

  • 时间限制: 1000 ms 内存限制: 65535 K
  • 问题描述
  • Mr. Cai is doing some research for numbers now. Those numbers are from 1 to N.
    But what's terrible - the Disruptive TT is comming!
    She turns all the odd numbers to negative. You see, how naughty TT is.
    To punish TT, Mr. Cai decided to give her a task.
    TT must put the numbers into two sets and make the sum of the two sets equivalent.
    TT knows that she is so piteously. So she ask you to help her find the solutions or she will be spanked.
  • 输入
  • This problem contains several cases.
    Each case is an integer N which is mentioned before. (2 <= N <= 500)
  • 输出
  • You should output the number of solutions. The answer should mod 1000000007.
  • 样例输入
  • 3
    4
    
  • 样例输出
  • 1
    1
    
  • 提示
  • 来源
  • XadillaX
  • 操作

显示春菜