Maths Problem

Revision en1, by moakhey, 2015-06-14 02:38:51

Hello, I've been trying to solve this problem on POJ: http://poj.org/problem?id=2084 After few drawings I understood that i should calculate the catalan number of the given n, however I got a WA. I think its because the size of the numbers which exceed the long long unsigned limit. What should I do? Am i wrong or should I operate on strings instead and perform my own multiplication?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English moakhey 2015-06-14 02:38:51 401 Initial revision (published)