title: codeforces runtime error on pset 1A
body: <p>I am trying to solve <a href="http://codeforces.com/problemset/problem/1/A" rel="nofollow noreferrer">problem 1A on codeforces</a> </p>
  
  <p>but i keep getting  Test: #1, time: 0 ms., memory: 1828 KB, exit code: 1, checker exit code: 0, verdict: RUNTIME_ERROR 
  you can check my entry <a href="http://codeforces.com/contest/1/submission/24683719" rel="nofollow noreferrer">here</a> and find my code below , i tried to to run the program locally and it works fine and it passed the test case on the website</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  int calculateSquare(int n , int m , int a){
  int length=0;
  int width = 0;
  if(n%a != 0){
      length = (n/a)+1 ;
  }
  else{
      length = n/a ;
  }
   if(m%a != 0){
      width = (m/a)+1 ;
  }
  else{
      width = m/a ;
  }
  
  return length*width ;
  
  
   }
   void main(){
  int n,m,a ;
  
  scanf("%d %d %d",&amp;n,&amp;m,&amp;a);
  int output = calculateSquare(n,m,a);
  printf("%d",output);
  }
  </code></pre>