Cod sursa(job #3142344)

Utilizator tibinyteCozma Tiberiu-Stefan tibinyte Data 20 iulie 2023 17:14:29
Problema A+B Scor 0
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.25 kb
#include<bits/stdc++.h>
using namespace std;
int maxn = 1e8;
int a[maxn];
int main(){
    for(int i=0; i < 1e6; ++i){
        a[i] = i;
    }
    a[(int)1e7] = 1e7;
    for(int i = maxn-1; i >= maxn - (int)1e6; --i){
        a[i] = i;
    }
}