http://codeforces.com/problemset/problem/469/A I Wanna Be the Guy
记录已解决的问题数即可,注意不重复计数。#include#include#include#include#defineMAX105#defineINF0x3f3f3f3fusingnamespacestd;boola[MAX];intmain(){freopen("a.txt","r",stdin);freopen("b.txt","w",stdout);intn,p,x,c=0;cin>>n;c