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_38542059_2926.cpp: In function 'vec solve(int, int, int, int, int, int)':
0_0_38542059_2926.cpp:15:2: error: expected ';' before 'if'
  if(x1!=0)v.a=(x-x2*v.b)/x1;
  ^
0_0_38542059_2926.cpp:16:2: error: 'else' without a previous 'if'
  else v.a=(y-y2*v.b)/y1;
  ^


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 18:14:41, Gzip enabled