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_39309387_10267.cpp: In function 'int main()':
0_0_39309387_10267.cpp:86:16: error: 'ts' was not declared in this scope; did you mean 'tm'?
   86 |             if(ts.satisfiable()){
      |                ^~
      |                tm
0_0_39309387_10267.cpp:87:23: error: 'w' was not declared in this scope
   87 |                 ans = w;
      |                       ^
0_0_39309387_10267.cpp:91:21: error: 'w' was not declared in this scope
   91 |                 r = w;
      |                     ^
0_0_39309387_10267.cpp:93:60: error: 'ans' was not declared in this scope; did you mean 'abs'?
   93 |         std::cout << std::fixed << std::setprecision(2) << ans << endl;
      |                                                            ^~~
      |                                                            abs
0_0_39309387_10267.cpp: At global scope:
0_0_39309387_10267.cpp:95:5: error: expected unqualified-id before 'return'
   95 |     return 0;
      |     ^~~~~~
0_0_39309387_10267.cpp:96:1: error: expected declaration before '}' token
   96 | }
      | ^


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-05-20 04:03:02, Gzip enabled