1101:0 start-up algorithm 08--simple input and calculation (A+B)

Source: Internet
Author: User

1101:0 Starting point Learning algorithm 08--simple input and calculation (A+B) time limit:1 Sec Memory limit:128 MB 64bit IO Format:%lld
submitted:3669 accepted:1997
[Submit] [Status] [Web Board] Description

The first 7 questions to do down, the output and calculation a little feel it?
However, it is a pity that the previous practice, as if too dead, wrote a calculation 3+4 program, calculate 5+6 and have to change the program, the computer really can only do so, then we are more tired than the computer.
Now let's get something new.
Can you write a number that calculates any 2 inputs?

Input

Enter 2 integers, separated by a space

Output

Output of their and

Sample Input
25 250

Sample Output
275

Source

0 Starting point Learning algorithm

1 2 int  34     int  a,b,c;    5     scanf ("%d%d",&a,&6     c=a+7      printf ("%d\n"8

1101:0 start-up algorithm 08--simple input and calculation (A+B)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.