Timus Online Judge 1000. A+B Problem question and SOLVE with sudo code

                                  1000. A+B Problem

                                                                  Time limit: 1.0 second
                                                                   Memory limit: 64 MB


Calculate a + b

Input

a and b

Output

a+b 
Sample
inputoutput

                  1 5 
 


                                                                       SOLVE
#include <stdio.h>

int main(void) {
    // your code goes here
    int a,b;
   
    scanf("%d %d",&a,&b);
   

    printf("%d",a+b);
   
    return 0;
}




Comments

Popular posts from this blog

How to solve an 8 puzzle problem using A* Algorithm in python

URI Online Judge | 1013 The Greatest Solve with source code