F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_33440721_16050.cpp:10:2: error: stray '#' in program
   ll sum=0,i,tmp;
  ^
0_0_33440721_16050.cpp:11:2: error: stray '#' in program
   int j,flag;
  ^
0_0_33440721_16050.cpp:12:2: error: stray '#' in program
   for(i=1;i<(ll)(1<<m);i++){  //用二进制1,0来表示第几个素因子是否被用到,如m=3,三个因子是2,3,5,则i=3时二进制是011,表示第2,3个因子被用到 
  ^
0_0_33440721_16050.cpp:12:36: error: stray '#' in program
   for(i=1;i<(ll)(1<<m);i++){  //用二进制1,0来表示第几个素因子是否被用到,如m=3,三个因子是2,3,5,则i=3时二进制是011,表示第2,3个因子被用到 
                                    ^
0_0_33440721_16050.cpp:13:2: error: stray '#' in program
     tmp=1,flag=0; 
  ^
0_0_33440721_16050.cpp:13:9: error: stray '#' in program
     tmp=1,flag=0; 
         ^
0_0_33440721_16050.cpp:13:29: error: stray '#' in program
     tmp=1,flag=0; 
                             ^
0_0_33440721_16050.cpp:14:2: error: stray '#' in program
     for(j=0;j<m;j++)
  ^
0_0_33440721_16050.cpp:14:9: error: stray '#' in program
     for(j=0;j<m;j++)
         ^
0_0_33440721_16050.cpp:15:2: error: stray '#' in program
       if(i&((ll)(1<<j))) //判断第几个因子目前被用到 
  ^
0_0_33440721_16050.cpp:15:9: error: stray '#' in program
       if(i&((ll)(1<<j))) //判断第几个因子目前被用到 
         ^
0_0_33440721_16050.cpp:15:16: error: stray '#' in program
       if(i&((ll)(1<<j))) //判断第几个因子目前被用到 
                ^
0_0_33440721_16050.cpp:16:2: error: stray '#' in program
         flag++, tmp*=prime[j];
  ^
0_0_33440721_16050.cpp:16:9: error: stray '#' in program
         flag++, tmp*=prime[j];
         ^
0_0_33440721_16050.cpp:16:16: error: stray '#' in program
         flag++, tmp*=prime[j];
                ^
0_0_33440721_16050.cpp:16:23: error: stray '#' in program
         flag++, tmp*=prime[j];
                       ^
0_0_33440721_16050.cpp:17:2: error: stray '#' in program
     if(flag&1)   sum+=p/tmp;   //容斥原理,奇加偶减 ,跟tmp不互质的个数 
  ^
0_0_33440721_16050.cpp:17:9: error: stray '#' in program
     if(flag&1)   sum+=p/tmp;   //容斥原理,奇加偶减 ,跟tmp不互质的个数 
         ^
0_0_33440721_16050.cpp:17:27: error: stray '#' in program
     if(flag&1)   sum+=p/tmp;   //容斥原理,奇加偶减 ,跟tmp不互质的个数 
                           ^
0_0_33440721_16050.cpp:17:46: error: stray '#' in program
     if(flag&1)   sum+=p/tmp;   //容斥原理,奇加偶减 ,跟tmp不互质的个数 
                                              ^
0_0_33440721_16050.cpp:18:2: error: stray '#' in program
     else         sum-=p/tmp; 
  ^
0_0_33440721_16050.cpp:18:9: error: stray '#' in program
     else         sum-=p/tmp; 
         ^
0_0_33440721_16050.cpp:18:21: error: stray '#' in program
     else         sum-=p/tmp; 
                     ^
0_0_33440721_16050.cpp:18:28: error: stray '#' in program
     else         sum-=p/tmp; 
                            ^
0_0_33440721_16050.cpp:18:35: error: stray '#' in program
     else         sum-=p/tmp; 
                                   ^
0_0_33440721_16050.cpp:18:42: error: stray '#' in program
     else         sum-=p/tmp; 
                                          ^
0_0_33440721_16050.cpp:18:60: error: stray '#' in program
     else         sum-=p/tmp; 
                                                            ^
0_0_33440721_16050.cpp:19:2: error: stray '#' in program
   }
  ^
0_0_33440721_16050.cpp:20:2: error: stray '#' in program
   return p-sum; 
  ^
0_0_33440721_16050.cpp:20:22: error: stray '#' in program
   return p-sum; 
                      ^
0_0_33440721_16050.cpp:21:3: error: stray '#' in program
 } 
   ^
0_0_33440721_16050.cpp:22:13: error: stray '#' in program
 int main()          //容斥原理 
             ^
0_0_33440721_16050.cpp:22:20: error: stray '#' in program
 int main()          //容斥原理 
                    ^
0_0_33440721_16050.cpp:22:27: error: stray '#' in program
 int main()          //容斥原理 
                           ^
0_0_33440721_16050.cpp:22:34: error: stray '#' in program
 int main()          //容斥原理 
                                  ^
0_0_33440721_16050.cpp:22:41: error: stray '#' in program
 int main()          //容斥原理 
                                         ^
0_0_33440721_16050.cpp:24:2: error: stray '#' in program
  ll n,a,b,i,num;
  ^
0_0_33440721_16050.cpp:25:2: error: stray '#' in program
  int t,k=0;
  ^
0_0_33440721_16050.cpp:26:2: error: stray '#' in program
  scanf("%d",&t);
  ^
0_0_33440721_16050.cpp:27:2: error: stray '#' in program
  while(t--){  
  ^
0_0_33440721_16050.cpp:27:20: error: stray '#' in program
  while(t--){  
                    ^
0_0_33440721_16050.cpp:28:2: error: stray '#' in program
    scanf("%I64d %I64d %I64d",&a,&b,&n);
  ^
0_0_33440721_16050.cpp:28:9: error: stray '#' in program
    scanf("%I64d %I64d %I64d",&a,&b,&n);
         ^
0_0_33440721_16050.cpp:29:2: error: stray '#' in program
    m=0; 
  ^
0_0_33440721_16050.cpp:29:9: error: stray '#' in program
    m=0; 
         ^
0_0_33440721_16050.cpp:29:19: error: stray '#' in program
    m=0; 
                   ^
0_0_33440721_16050.cpp:30:2: error: stray '#' in program
    for(i=2;i*i<=n;i++)         //注意此处是i*i<=n 
  ^
0_0_33440721_16050.cpp:30:9: error: stray '#' in program
    for(i=2;i*i<=n;i++)         //注意此处是i*i<=n 
         ^
0_0_33440721_16050.cpp:30:35: error: stray '#' in program
    for(i=2;i*i<=n;i++)         //注意此处是i*i<=n 
                                   ^
0_0_33440721_16050.cpp:30:42: error: stray '#' in program
    for(i=2;i*i<=n;i++)         //注意此处是i*i<=n 
                                          ^
0_0_33440721_16050.cpp:30:49: error: stray '#' in program
    for(i=2;i*i<=n;i++)         //注意此处是i*i<=n 
                                                 ^
0_0_33440721_16050.cpp:30:56: error: stray '#' in program
    for(i=2;i*i<=n;i++)         //注意此处是i*i<=n 
                                                        ^
0_0_33440721_16050.cpp:31:2: error: stray '#' in program
      if(n&&n%i==0){
  ^
0_0_33440721_16050.cpp:31:9: error: stray '#' in program
      if(n&&n%i==0){
         ^
0_0_33440721_16050.cpp:31:16: error: stray '#' in program
      if(n&&n%i==0){
                ^
0_0_33440721_16050.cpp:32:2: error: stray '#' in program
        prime[m++]=i;           
  ^
0_0_33440721_16050.cpp:32:9: error: stray '#' in program
        prime[m++]=i;           
         ^
0_0_33440721_16050.cpp:32:16: error: stray '#' in program
        prime[m++]=i;           
                ^
0_0_33440721_16050.cpp:32:23: error: stray '#' in program
        prime[m++]=i;           
                       ^
0_0_33440721_16050.cpp:32:43: error: stray '#' in program
        prime[m++]=i;           
                                           ^
0_0_33440721_16050.cpp:32:50: error: stray '#' in program
        prime[m++]=i;           
                                                  ^
0_0_33440721_16050.cpp:32:57: error: stray '#' in program
        prime[m++]=i;           
                                                         ^
0_0_33440721_16050.cpp:32:64: error: stray '#' in program
        prime[m++]=i;           
                                                                ^
0_0_33440721_16050.cpp:32:71: error: stray '#' in program
        prime[m++]=i;           
                                                                       ^
0_0_33440721_16050.cpp:32:77: error: stray '#' in program
        prime[m++]=i;           
                                                                             ^
0_0_33440721_16050.cpp:33:2: error: stray '#' in program
        while(n&&n%i==0)
  ^
0_0_33440721_16050.cpp:33:9: error: stray '#' in program
        while(n&&n%i==0)
         ^
0_0_33440721_16050.cpp:33:16: error: stray '#' in program
        while(n&&n%i==0)
                ^
0_0_33


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 03:01:50, Gzip enabled