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_20881858_23424.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_20881858_23424.cpp: In function 'int main()':
0_0_20881858_23424.cpp:6:5: error: '__int64' was not declared in this scope
     __int64 a[22]={0,0,1,2};
     ^
0_0_20881858_23424.cpp:9:9: error: 'a' was not declared in this scope
         a[i]=(i-1)*(a[i-1]+a[i-2]); 
         ^
0_0_20881858_23424.cpp:10:5: error: 'cin' was not declared in this scope
     cin>>n;
     ^
0_0_20881858_23424.cpp:17:9: error: 'cout' was not declared in this scope
         cout.precision(2); 
         ^
0_0_20881858_23424.cpp:18:15: error: 'fixed' was not declared in this scope
         cout<<fixed<<((a[m]*1.0)/s)*100<<"%"<<endl;
               ^
0_0_20881858_23424.cpp:18:24: error: 'a' was not declared in this scope
         cout<<fixed<<((a[m]*1.0)/s)*100<<"%"<<endl;
                        ^
0_0_20881858_23424.cpp:18:47: error: 'endl' was not declared in this scope
         cout<<fixed<<((a[m]*1.0)/s)*100<<"%"<<endl;
                                               ^


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-17 04:27:10, Gzip enabled