ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1502. Domino Dots

why i got wrong answer
Posted by Beautiful Mind 31 Oct 2006 13:00

 I think its a easy one , but i always get wrong answer at test 3 . I used the following
  formula:

     n is the Input
     m=n+2 ;
     m= m*(m-1)/2 ;
     m=m*n ;
   then just print m as an answer . I used long long .
    am i wrong ? plz ,help me.