Untitled

mail@pastecode.io avatar
unknown
c_cpp
a year ago
261 B
0
Indexable
Never
#include <bits/stdc++.h>
using namespace std;


int main(int argc, char **argv) {

	ifstream fifo_in(argv[2]);
	ofstream fifo_out(argv[1]);

	int a, b;
    fifo_in >> a >> b;
	fifo_out << a+b << '\n';
	
    fifo_in.close();
    fifo_out.close();

	return 0;

}