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_32021377_11695.cpp: In function 'int main()':
0_0_32021377_11695.cpp:6:1: error: 'S' was not declared in this scope
 S = 0.5 * ( (x0*y1-x1*y0) + (x1*y2-x2*y1) + ... + (xn*y0-x0*yn));
 ^
0_0_32021377_11695.cpp:6:14: error: 'x0' was not declared in this scope
 S = 0.5 * ( (x0*y1-x1*y0) + (x1*y2-x2*y1) + ... + (xn*y0-x0*yn));
              ^
0_0_32021377_11695.cpp:6:17: error: 'y1' was not declared in this scope
 S = 0.5 * ( (x0*y1-x1*y0) + (x1*y2-x2*y1) + ... + (xn*y0-x0*yn));
                 ^
0_0_32021377_11695.cpp:6:20: error: 'x1' was not declared in this scope
 S = 0.5 * ( (x0*y1-x1*y0) + (x1*y2-x2*y1) + ... + (xn*y0-x0*yn));
                    ^
0_0_32021377_11695.cpp:6:23: error: 'y0' was not declared in this scope
 S = 0.5 * ( (x0*y1-x1*y0) + (x1*y2-x2*y1) + ... + (xn*y0-x0*yn));
                       ^
0_0_32021377_11695.cpp:6:33: error: 'y2' was not declared in this scope
 S = 0.5 * ( (x0*y1-x1*y0) + (x1*y2-x2*y1) + ... + (xn*y0-x0*yn));
                                 ^
0_0_32021377_11695.cpp:6:36: error: 'x2' was not declared in this scope
 S = 0.5 * ( (x0*y1-x1*y0) + (x1*y2-x2*y1) + ... + (xn*y0-x0*yn));
                                    ^
0_0_32021377_11695.cpp:6:45: error: expected primary-expression before '...' token
 S = 0.5 * ( (x0*y1-x1*y0) + (x1*y2-x2*y1) + ... + (xn*y0-x0*yn));
                                             ^
0_0_32021377_11695.cpp:6:45: error: expected ')' 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-15 18:33:52, Gzip enabled