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_39309388_10993.cpp:86:13: error: expected unqualified-id before 'if'
   86 |             if(ts.satisfiable()){
      |             ^~
0_0_39309388_10993.cpp:90:13: error: expected unqualified-id before 'else'
   90 |             else
      |             ^~~~
0_0_39309388_10993.cpp:92:9: error: expected declaration before '}' token
   92 |         }
      |         ^
0_0_39309388_10993.cpp:93:14: error: 'cout' in namespace 'std' does not name a type
   93 |         std::cout << std::fixed << std::setprecision(2) << ans << endl;
      |              ^~~~
In file included from .\stdc++.h:146:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
0_0_39309388_10993.cpp:94:5: error: expected declaration before '}' token
   94 |     }
      |     ^
0_0_39309388_10993.cpp:95:5: error: expected unqualified-id before 'return'
   95 |     return 0;
      |     ^~~~~~
0_0_39309388_10993.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-11-22 15:22:19, Gzip enabled