Cod sursa(job #2170939)
Utilizator | Data | 15 martie 2018 10:28:45 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <bits/stdc++.h>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
int a, b, p;
srand(time(NULL));
p = rand()%2;
if(p==1)g<<a+b;
else g<<"haha";
return 0;
}