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_36375635_28245.cpp: In function 'long long int eular()':
0_0_36375635_28245.cpp:18:7: error: 'i' was not declared in this scope
   for(i=1;i<=maxn;i++) phi[i]=i;
       ^
0_0_36375635_28245.cpp:18:14: error: 'maxn' was not declared in this scope
   for(i=1;i<=maxn;i++) phi[i]=i;
              ^
0_0_36375635_28245.cpp:18:24: error: 'phi' was not declared in this scope
   for(i=1;i<=maxn;i++) phi[i]=i;
                        ^
0_0_36375635_28245.cpp:19:9: error: 'i' was not declared in this scope
     for(i=2;i<=maxn;i+=2) phi[i]/=2;
         ^
0_0_36375635_28245.cpp:19:16: error: 'maxn' was not declared in this scope
     for(i=2;i<=maxn;i+=2) phi[i]/=2;
                ^
0_0_36375635_28245.cpp:19:27: error: 'phi' was not declared in this scope
     for(i=2;i<=maxn;i+=2) phi[i]/=2;
                           ^
0_0_36375635_28245.cpp:20:9: error: 'i' was not declared in this scope
     for(i=3;i<=maxn;i+=2)if(phi[i]==i){
         ^
0_0_36375635_28245.cpp:20:16: error: 'maxn' was not declared in this scope
     for(i=3;i<=maxn;i+=2)if(phi[i]==i){
                ^
0_0_36375635_28245.cpp:20:29: error: 'phi' was not declared in this scope
     for(i=3;i<=maxn;i+=2)if(phi[i]==i){
                             ^
0_0_36375635_28245.cpp:21:11: error: 'j' was not declared in this scope
       for(j=i;j<=maxn;j+=i)
           ^
0_0_36375635_28245.cpp: In function 'long long int eulerDropPow(long long int, char*, long long int)':
0_0_36375635_28245.cpp:26:19: error: 'phi' was not declared in this scope
 ll eulerNumbers = phi[c]; 
                   ^


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-06-29 20:48:24, Gzip enabled