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_26554115_24750.cpp:7:13: error: stray '\243' in program
             int sum(int x,int y){return x+yŁ»}
             ^
0_0_26554115_24750.cpp:7:13: error: stray '\273' in program
0_0_26554115_24750.cpp:6:13: error: 'viod' does not name a type
             viod in{cin>>s>>b;}
             ^
0_0_26554115_24750.cpp: In member function 'int plus::sum(int, int)':
0_0_26554115_24750.cpp:7:46: error: expected ';' before '}' token
             int sum(int x,int y){return x+yŁ»}
                                              ^
0_0_26554115_24750.cpp: At global scope:
0_0_26554115_24750.cpp:11:7: error: variable or field 'main' declared void
  void main
       ^
0_0_26554115_24750.cpp:13:6: error: 'in' was not declared in this scope
   in();
      ^
0_0_26554115_24750.cpp:13:7: error: expected '}' before ';' token
   in();
       ^
0_0_26554115_24750.cpp:15:3: error: 's' does not name a type
   s=sum(int x,inty); 
   ^
0_0_26554115_24750.cpp:16:3: error: expected unqualified-id before 'return'
   return 0;
   ^
0_0_26554115_24750.cpp:17: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-17 16:49:52, Gzip enabled