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_24080679_19711.cpp:30:2: error: stray '#' in program
 }#include <stdio.h>
  ^
0_0_24080679_19711.cpp:30:3: error: 'include' does not name a type
 }#include <stdio.h>
   ^
0_0_24080679_19711.cpp:34:8: error: redefinition of 'struct point'
 struct point
        ^
0_0_24080679_19711.cpp:5:8: error: previous definition of 'struct point'
 struct point
        ^
0_0_24080679_19711.cpp: In function 'double tr_area(point, point, point)':
0_0_24080679_19711.cpp:39:8: error: redefinition of 'double tr_area(point, point, point)'
 double tr_area(point a,point b,point c){
        ^
0_0_24080679_19711.cpp:10:8: note: 'double tr_area(point, point, point)' previously defined here
 double tr_area(point a,point b,point c){
        ^
0_0_24080679_19711.cpp: In function 'int main()':
0_0_24080679_19711.cpp:42:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_24080679_19711.cpp:13:5: note: 'int main()' previously defined here
 int main(){
     ^


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-12-05 02:20:07, Gzip enabled