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)