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_13807861_21812.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13807861_21812.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13807861_21812.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13807861_21812.cpp: In function 'int main()':
0_0_13807861_21812.cpp:27:7: error: expected primary-expression before '%' token
 scanf(%d,&t);
       ^
0_0_13807861_21812.cpp:27:8: error: 'd' was not declared in this scope
 scanf(%d,&t);
        ^
0_0_13807861_21812.cpp:27:12: error: 'scanf' was not declared in this scope
 scanf(%d,&t);
            ^
0_0_13807861_21812.cpp:31:7: error: expected primary-expression before '%' token
 scanf(%d,&n);
       ^
0_0_13807861_21812.cpp:39:7: error: expected primary-expression before '%' token
 scanf(%lf%lf%lf%lf,&p1.x,&p1.y,&p2.x,&p2.y);
       ^
0_0_13807861_21812.cpp:39:8: error: 'lf' was not declared in this scope
 scanf(%lf%lf%lf%lf,&p1.x,&p1.y,&p2.x,&p2.y);
        ^
0_0_13807861_21812.cpp:41:15: error: expected ';' before 'scanf'
 for(int i=2;i scanf(%lf%lf,&p3.x,&p3.y);
               ^
0_0_13807861_21812.cpp:41:21: error: expected primary-expression before '%' token
 for(int i=2;i scanf(%lf%lf,&p3.x,&p3.y);
                     ^
0_0_13807861_21812.cpp:41:40: error: expected ')' before ';' token
 for(int i=2;i scanf(%lf%lf,&p3.x,&p3.y);
                                        ^
0_0_13807861_21812.cpp:55:1: error: 'gx' was not declared in this scope
 gx=gx/sumarea/3;//��Ķ��������
 ^
0_0_13807861_21812.cpp:55:7: error: 'sumarea' was not declared in this scope
 gx=gx/sumarea/3;//��Ķ��������
       ^
0_0_13807861_21812.cpp:57:1: error: 'gy' was not declared in this scope
 gy=gy/sumarea/3;
 ^
0_0_13807861_21812.cpp:59:8: error: expected primary-expression before '%' token
 printf(%.2lf %.2lf ,gx,gy);
        ^
0_0_13807861_21812.cpp:59:9: error: unable to find numeric literal operator 'operator""lf'
 printf(%.2lf %.2lf ,gx,gy);
         ^
0_0_13807861_21812.cpp:59:9: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_13807861_21812.cpp:59:15: error: unable to find numeric literal operator 'operator""lf'
 printf(%.2lf %.2lf ,gx,gy);
               ^
0_0_13807861_21812.cpp:59:15: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_13807861_21812.cpp:59:26: error: 'printf' was not declared in this scope
 printf(%.2lf %.2lf ,gx,gy);
                          ^
0_0_13807861_21812.cpp: At global scope:
0_0_13807861_21812.cpp:63:1: error: expected unqualified-id before 'return'
 return 0;
 ^
0_0_13807861_21812.cpp:65:1: error: expected declaration before '}' token
 }
 ^


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-30 09:01:48, Gzip enabled