Cod sursa(job #2964012)

Utilizator TaviseVasiliu Alex Tavise Data 12 ianuarie 2023 11:28:41
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.73 kb
#include <bits/stdc++.h>
#pragma GCC optimize("Ofast")

#define debug(x) cerr << #x << " " << x << "\n"
#define debugs(x) cerr << #x << " " << x << " "

using namespace std;
typedef pair <int, int> pii;
typedef long long ll;

const int NMAX = 1000001;
const int VMAX = 41;
const int INF = 1e9;
const int MOD = 1000000009;
const int BLOCK = 318;
const int base = 31;
const int nrbits = 21;

int main() {
    ifstream cin("adunare.in");
    ofstream cout("adunare.out");
    ios_base::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    int a, b, suma = 0;
    cin >> a >> b;
    assert((a + b) < 1000000000);
    while(a--)
        suma++;
    while(b--)
        suma++;
    cout << suma;
    return 0;
}