URAL1000[A+B Problem]

这是一道十分水的题,所以没人想写题解。


CODE:


 


/*


PROGRAM: $PROGRAM


AUTHOR: Su Jiao


DATE: 2010-3-8


DESCRIPTION:


$DESCRIPTION


*/


#include <iostream>


using std::cin;


using std::cout;


using std::endl;


#include <cstring>


using std::memset;


 


class Application


{


      int a,b;


      public:


      Application()


      {


                    cin>>a>>b;


      }


      int run()


      {


          cout<<(a+b)<<endl;


          return 0;


      }


};


 


int main()


{


    Application app;


    return app.run();


}


 



留下评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注