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

Re:1000是我入门VC++编程我们院长给我们展示的第一个程序

Posted by lhahe at 2010-08-11 16:40:54 on Problem 1000
In Reply To:1000是我入门VC++编程我们院长给我们展示的第一个程序 Posted by:njut090220 at 2010-04-13 19:35:22
> viod main()
> {
>    int a,b;
>    cin>>a>>b;
>    cout<<a+b<<endl;
> }

Oh. = =、

Code:

#include <iostream>

int main( void )
{
    int a, b;

    std::cin >> a >> b;
    std::cout<< a+b << std::endl;

    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