Untitled
Anonymous
c_cpp
04/18/2023 11:44 AM
348 B
12
Indexable
#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;
}
Editor is loading...