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_33796381_14216.cpp: In function 'bool lose(int, int, int)':
0_0_33796381_14216.cpp:23:2: error: 'ld' was not declared in this scope
  ld tmp=sqrt(k*k+2*k+5);
  ^
0_0_33796381_14216.cpp:24:5: error: expected ';' before 'x'
  ld x=(1-k+tmp)/2.0,y=(3+k+tmp)/2.0;
     ^
0_0_33796381_14216.cpp:25:5: error: 'x' was not declared in this scope
  if(x*n==a&&y*n==b)
     ^
0_0_33796381_14216.cpp:25:13: error: 'y' was not declared in this scope
  if(x*n==a&&y*n==b)
             ^


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-12-01 10:20:15, Gzip enabled