Cod sursa(job #2578754)
| Utilizator | Data | 11 martie 2020 15:49:22 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp-64 | Status | done |
| Runda | Arhiva de probleme | Marime | 0.45 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream in("adunare.in");
ofstream out("adunare.out");
class curs{
static int x;
int j;
public:
curs(){j = 0;}
static void init(int i){x = i;}
void show(){
cout << x << endl;
}
};
int curs :: x; /// define x
int main()
{
long long a,b;
in >> a >> b;
out << a + b;
in.close();
out.close();
return 0;
}
