Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

c++1000pro

Posted by ehtorresb at 2007-11-11 02:57:04
#include <iostream.h>
#include <stdlib.h>
int main()
{
     int a,b,c,i;
     cout<<"a";
     cin>>a;
     cout<<"b";
     cin>>b;
     c=a;
     for(i=0;i<=b;i++)
     {
     c=a+i;
     }
     cout<<c;
      system("PAUSE");
      return 0;
}


Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator