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_24451946_32405.cpp: In function 'int main()':
0_0_24451946_32405.cpp:27:17: error: 'y1' was not declared in this scope
   read(x1),read(y1),read(z1);
                 ^
0_0_24451946_32405.cpp:29:3: error: 'mode1' was not declared in this scope
   mode1=(LL)x1*x1+(LL)y1*y1+(LL)z1*z1;
   ^
0_0_24451946_32405.cpp:30:3: error: 'mode2' was not declared in this scope
   mode2=(LL)x2*x2+(LL)y2*y2+(LL)z2*z2;
   ^
0_0_24451946_32405.cpp:38:4: error: expected '}' before 'else'
    else{
    ^
0_0_24451946_32405.cpp:53:32: error: 'Case' was not declared in this scope
   }printf("Case #%d: %.5f%%\n",Case,(double)ans);
                                ^
0_0_24451946_32405.cpp: At global scope:
0_0_24451946_32405.cpp:55:2: error: expected unqualified-id before 'return'
  return 0;
  ^
0_0_24451946_32405.cpp:56: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-26 10:19:18, Gzip enabled