Cod sursa(job #3142338)

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