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_24451982_24121.cpp: In function 'int main()':
0_0_24451982_24121.cpp:30:3: error: 'mode1' was not declared in this scope
   mode1=(LL)x1*x1+(LL)y1*y1+(LL)z1*z1;
   ^
0_0_24451982_24121.cpp:31:3: error: 'mode2' was not declared in this scope
   mode2=(LL)x2*x2+(LL)y2*y2+(LL)z2*z2;
   ^
0_0_24451982_24121.cpp:39:4: error: expected '}' before 'else'
    else{
    ^
0_0_24451982_24121.cpp:54:32: error: 'Case' was not declared in this scope
   }printf("Case #%d: %.5f%%\n",Case,(double)ans);
                                ^
0_0_24451982_24121.cpp: At global scope:
0_0_24451982_24121.cpp:56:2: error: expected unqualified-id before 'return'
  return 0;
  ^
0_0_24451982_24121.cpp:57: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-06-02 09:14:06, Gzip enabled