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_33904640_18147.cpp:74:50: error: 'T' was not declared in this scope
             double nowx=ansx+(rand()*2-RAND_MAX)*T;
                                                  ^
0_0_33904640_18147.cpp:75:50: error: 'T' was not declared in this scope
             double nowy=ansy+(rand()*2-RAND_MAX)*T;
                                                  ^
0_0_33904640_18147.cpp:77:13: error: expected unqualified-id before 'if'
             if(nowz==210000000.0){T*=0.99;continue;}
             ^
0_0_33904640_18147.cpp:79:13: error: expected unqualified-id before 'if'
             if(delta<0)ansx=nowx,ansy=nowy,ansz=nowz;
             ^
0_0_33904640_18147.cpp:80:13: error: expected unqualified-id before 'else'
             else if(exp(delta/T)*RAND_MAX<rand())ansx=nowx,ansy=nowy,ansz=nowz;
             ^
0_0_33904640_18147.cpp:81:13: error: 'T' does not name a type
             T*=0.99;
             ^
0_0_33904640_18147.cpp:82:9: 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 05:57:46, Gzip enabled