Submission #2701

# Submission time Handle Problem Language Result Execution time Memory
2701 2013-07-31T03:32:18 Z gs13068 다각형 (GA5_polygon) C++
0 / 100
0 ms 1088 KB
#include<cstdio>

int main()
{
  int i,a,b,sum=0;
  scanf("%d%d",&a,&b);
  for(i=4;i<=10000;i+=2)
  {
    if(i>=a&&i<=b)
      sum+=i;
  }
  printf("%d",i);
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1088 KB Output isn't correct
2 Halted 0 ms 0 KB -