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_32796555_30070.cpp: In function 'int main()':
0_0_32796555_30070.cpp:2:11: error: 'Euler' was not declared in this scope
     Euler();
           ^
0_0_32796555_30070.cpp:3:24: error: 'scanf' was not declared in this scope
     int t;scanf("%d",&t);
                        ^
0_0_32796555_30070.cpp:5:9: error: 'll' was not declared in this scope
         ll n,ans;
         ^
0_0_32796555_30070.cpp:6:23: error: 'n' was not declared in this scope
         scanf("%lld",&n);
                       ^
0_0_32796555_30070.cpp:7:21: error: expected ',' or ';' before 'sqrt'
         int tmp=(ll)sqrt(n+0.5);
                     ^
0_0_32796555_30070.cpp:8:40: error: 'printf' was not declared in this scope
         if(tmp<2){printf("%lld\n",4ll-n);continue;}
                                        ^
0_0_32796555_30070.cpp:10:23: error: 'check' was not declared in this scope
             if(check(i)){ans=abs(1ll*i*i-n);break;}
                       ^
0_0_32796555_30070.cpp:10:26: error: 'ans' was not declared in this scope
             if(check(i)){ans=abs(1ll*i*i-n);break;}
                          ^
0_0_32796555_30070.cpp:10:43: error: 'abs' was not declared in this scope
             if(check(i)){ans=abs(1ll*i*i-n);break;}
                                           ^
0_0_32796555_30070.cpp:12:23: error: 'check' was not declared in this scope
             if(check(i)){ans=min(ans,abs(1ll*i*i-n));break;}
                       ^
0_0_32796555_30070.cpp:12:26: error: 'ans' was not declared in this scope
             if(check(i)){ans=min(ans,abs(1ll*i*i-n));break;}
                          ^
0_0_32796555_30070.cpp:12:51: error: 'abs' was not declared in this scope
             if(check(i)){ans=min(ans,abs(1ll*i*i-n));break;}
                                                   ^
0_0_32796555_30070.cpp:12:52: error: 'min' was not declared in this scope
             if(check(i)){ans=min(ans,abs(1ll*i*i-n));break;}
                                                    ^
0_0_32796555_30070.cpp:13:25: error: 'ans' was not declared in this scope
         printf("%lld\n",ans);
                         ^
0_0_32796555_30070.cpp:13:28: error: 'printf' was not declared in this scope
         printf("%lld\n",ans);
                            ^


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-23 00:39:16, Gzip enabled