fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int x;
  6. int y;
  7. int result;
  8. scanf("%d %d", &x, &y);
  9. result = x + y;
  10. printf("%d", result);
  11. return 0;
  12. }
  13.  
  14.  
Success #stdin #stdout 0.01s 5288KB
stdin
10 20
stdout
30