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_19004180_7867.cpp:2:5: error: 'nbsp' declared as reference but not initialized
 int  main()
     ^
0_0_19004180_7867.cpp:2:15: error: expected constructor, destructor, or type conversion before ';' token
 int  main()
               ^
0_0_19004180_7867.cpp: In function 'int main()':
0_0_19004180_7867.cpp:4:29: error: 'nbsp' declared as reference but not initialized
     int T,i,a;
                             ^
0_0_19004180_7867.cpp:4:34: error: 'T' was not declared in this scope
     int T,i,a;
                                  ^
0_0_19004180_7867.cpp:4:36: error: 'i' was not declared in this scope
     int T,i,a;
                                    ^
0_0_19004180_7867.cpp:4:38: error: 'a' was not declared in this scope
     int T,i,a;
                                      ^
0_0_19004180_7867.cpp:9:56: error: 'nbsp' declared as reference but not initialized
         double sum=1.000;
                                                        ^
0_0_19004180_7867.cpp:9:61: error: 'sum' was not declared in this scope
         double sum=1.000;
                                                             ^
0_0_19004180_7867.cpp:13:73: error: 'else' without a previous 'if'
             else sum-=1.000/double(i);
                                                                         ^
0_0_19004180_7867.cpp:17:32: error: invalid conversion from 'int*' to 'int' [-fpermissive]
     return 0;
                                ^


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 09:45:09, Gzip enabled