Exemplo n.º 1
0
int main(){
	freopen("t.in", "r", stdin);
    scanf("%ld%ld",&t,&m);
    shax();
    read();
    work();
    return 0;
}
Exemplo n.º 2
0
int main()
{
    __int64 i;
    phi[1]=0;
    shax();
    for(i=1;i<=limit;i++)
      s[i]=s[i-1]+phi[i];
    while(1)
    {
     scanf("%I64d",&i);
     if(i==0) break;
     printf("%I64d\n",s[i]);
    }
    return 0;
}