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_27783429_22664.cpp:48:2: error: stray '\243' in program
  for£¨i=1;i<=n;i++£© 
  ^
0_0_27783429_22664.cpp:48:2: error: stray '\250' in program
0_0_27783429_22664.cpp:48:2: error: stray '\243' in program
0_0_27783429_22664.cpp:48:2: error: stray '\251' in program
0_0_27783429_22664.cpp: In function 'int main()':
0_0_27783429_22664.cpp:48:7: error: expected '(' before 'i'
  for£¨i=1;i<=n;i++£© 
       ^
0_0_27783429_22664.cpp:49:2: error: expected ')' before '{' token
  {
  ^
0_0_27783429_22664.cpp:50:25: error: 'calculate' was not declared in this scope
   if(calculate(a[i],b[i]))//½øÐмÆÊý
                         ^
0_0_27783429_22664.cpp:55:2: error: return-statement with no value, in function returning 'int' [-fpermissive]
  return ;
  ^
0_0_27783429_22664.cpp: At global scope:
0_0_27783429_22664.cpp:58:16: error: variable or field 'calculate' declared void
 void calculate(a x,b y)
                ^
0_0_27783429_22664.cpp:58:16: error: 'a' was not declared in this scope
0_0_27783429_22664.cpp:58:20: error: 'b' was not declared in this scope
 void calculate(a x,b y)
                    ^


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 09:55:25, Gzip enabled