fork download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main() {
  6. int a, b;
  7. string op;
  8. cin >> a >> b >> op;
  9. cout << a << op << b;
  10. return 0;
  11. }
Success #stdin #stdout 0s 4268KB
stdin
2
4
+
stdout
2+4