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_16922941_3658.cpp:34:2: error: stray '#' in program
 }#include<iostream>
  ^
0_0_16922941_3658.cpp:34:3: error: 'include' does not name a type
 }#include<iostream>
   ^
0_0_16922941_3658.cpp:40:8: error: redefinition of 'struct node'
 struct node{
        ^
0_0_16922941_3658.cpp:7:8: error: previous definition of 'struct node'
 struct node{
        ^
0_0_16922941_3658.cpp:44:13: error: invalid type in declaration before ';' token
 }grade[1000];
             ^
0_0_16922941_3658.cpp:44:13: error: conflicting declaration 'int grade [1000]'
0_0_16922941_3658.cpp:11:2: note: previous declaration as 'node grade [1000]'
 }grade[1000];
  ^
0_0_16922941_3658.cpp: In function 'double comparison(node, node)':
0_0_16922941_3658.cpp:45:8: error: redefinition of 'double comparison(node, node)'
 double comparison(node a, node b){
        ^
0_0_16922941_3658.cpp:12:8: note: 'double comparison(node, node)' previously defined here
 double comparison(node a, node b){
        ^
0_0_16922941_3658.cpp: In function 'int main()':
0_0_16922941_3658.cpp:48:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_16922941_3658.cpp:15: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-07-08 23:37:48, Gzip enabled