fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. long A, B;
  6. if (scanf("%ld\n%ld", &A, &B) !=2) return 0;
  7.  
  8. long X = A + B;
  9. printf("X=%ld\n", X);
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 5276KB
stdin
Standard input is empty
stdout
Standard output is empty