Cod sursa(job #3241569)

Utilizator IvanAndreiIvan Andrei IvanAndrei Data 31 august 2024 16:16:21
Problema A+B Scor 0
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.86 kb
// ne jucam cu vsc mai nou!
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>

#pragma GCC optimize ("O3")
#pragma GCC optimize ("unroll-loops")
#pragma GCC target ("avx2")

using namespace std;
using namespace __gnu_pbds;

ifstream fin ("test.in");
ofstream fout ("test.out");

void solve ()
{
    int x, y;
    cin >> x >> y;
    cout << x + y;
    cout << '\n';
}

int main ()
{
    #ifndef ONLINE_JUDGE, INFOARENA
        freopen("test.in", "r", stdin);
        freopen("test.out", "w", stdout);
    #else
        freopen("adunare.in", "r", stdin);
        freopen("adunare.out", "w", stdout);
    #endif
    ios_base::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    int tt;
    //cin >> tt;
    tt = 1;
    while (tt--)
    {
        solve();
    }
    return 0;
}