Basecamp
    Accueil
    Problèmes
    Concours
    Cours
    Classement
    Messages
    Store
    Discord
Elsen2012
Se connecter
Elsen
Elsen2012
Étudiant
Azerbaijan
Azerbaijan
Rejoint le 27 oct. 2025
Réalisations (3)
Problem Solver 3Problem Solver 2Problem Solver
Vue d'ensembleÉvaluationRéalisationsArticles

Évaluation
1064
Problèmes790
Soumissions1278
mai
juin
juil.
août
sept.
oct.
nov.
déc.
2021
févr.
mars
avr.
mai
juin
juil.
août
sept.
oct.
nov.
déc.
2022
févr.
mars
avr.
mai
juin
juil.
août
sept.
oct.
nov.
déc.
2023
févr.
mars
avr.
mai
juin
juil.
août
sept.
oct.
nov.
déc.
2024
févr.
mars
avr.
mai
juin
juil.
août
sept.
oct.
nov.
déc.
2025
févr.
mars
avr.
mai
juin
juil.
août
sept.
oct.
nov.
déc.
2026
févr.
mars
Elsen2012 a résolu le problème Pitchers (#12427) à la tentative 7il y a 22 heures
Elsen2012 a résolu le problème Exam for the Night's Watch (#12424) à la première tentativeil y a 22 heures
Elsen2012 a résolu le problème The Language of Westeros (#12425) à la première tentativeil y a 22 heures
Elsen2012 a résolu le problème World (#12426) à la première tentativeil y a 22 heures
Elsen2012 a rejoint le concours IOI 2009 - Day 2il y a 2 jours
Elsen2012 a résolu le problème Nasser's OR Removal (#12433) à la première tentativeil y a 2 jours
Elsen2012 a résolu le problème Nasser's Prime Slices (#12432) à la première tentativeil y a 2 jours
Elsen2012 a résolu le problème Koasar and PGCD (#12431) à la première tentativeil y a 2 jours
Elsen2012 a résolu le problème Rufo's massive (#12430) à la tentative 3il y a 2 jours
Elsen2012 has completed the contest Blitz Round #18 and scored no scoreil y a 2 jours
Elsen2012 a laissé un commentaire dans la discussion Lost pencil (#11667)il y a 2 jours

silly_bea#include <iostream>#include <cmath>#include <algorithm>#include <cctype>#include <cstdio>#include <cstring>#include <bitset>#include <string>#include <set>#include <deque>#include <queue>#include <stack>#include <vector>#include <map>#include <unordered_set>#define ll long long#define ld long double#define db double#define ch char#define sg string#define st set#define stck stack#define pq priority_queue#define dq deque#define vc vector#define bl bool#define mp map#define cp cout.precision#define ts to_string#define mst multiset#define uost unordered_setusing namespace std;int main(){ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);ll n,num;bl lost=false,isLost[2000001];scanf("%lld",&n);memset(isLost,true,sizeof(isLost)); //all pencils are lost firstfor(int i=0;i<n;i++){scanf("%lld",&num);isLost[num]=false; //we saw that pencil so it is not lost.}for(int i=1;i<=n;i++){if(isLost[i]) //if pencil with index i is lost{printf("%d",i); //then output itlost=true; //and we found lost pencil so not all pencils are presentbreak;}}if(!lost){printf("-1"); //if no absent pencil is found then all are present}}ver_474

Elsen2012 a résolu le problème Lost pencil (#11667) à la première tentativeil y a 2 jours
Elsen2012 a résolu le problème Lexicographically smallest cyclic shift (#1783) à la tentative 3il y a 2 jours
Elsen2012 a résolu le problème Balance scale (#11400) à la tentative 3il y a 2 jours
Elsen2012 a résolu le problème Gül buketi Seniorlar Üçün (#11117) à la tentative 16il y a 2 jours
Elsen2012 a résolu le problème Grasshopper and chain (#11338) à la tentative 2il y a 2 jours
Elsen2012 a résolu le problème Divisible interval (#11342) à la tentative 4il y a 2 jours
Elsen2012 a résolu le problème Colorful balloons (#11398) à la tentative 19il y a 3 jours
Elsen2012 a résolu le problème Dino and fetters (#9640) à la tentative 8il y a 3 jours
Elsen2012 a résolu le problème Reverse the bit number (#5097) à la première tentativeil y a 3 jours
Elsen2012 a résolu le problème Primes (#3843) à la tentative 6il y a 3 jours
Elsen2012 a résolu le problème Interesting sequence (#11397) à la première tentativeil y a 3 jours
Elsen2012 a résolu le problème Pay the Bill (#11396) à la tentative 4il y a 3 jours
Elsen2012 a résolu le problème Number series (#11116) à la tentative 4il y a 3 jours
Elsen2012 a résolu le problème Cold Days in Dinotopia (#9641) à la tentative 9il y a 3 jours