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_18026498_1706.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_18026498_1706.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_18026498_1706.cpp:7:2: error: stray '#' in program
   bitset mybits;
  ^
0_0_18026498_1706.cpp:9:2: error: stray '#' in program
   cout "enter a binary number: ";...        
  ^
0_0_18026498_1706.cpp: In function 'int main()':
0_0_18026498_1706.cpp:7:3: error: lvalue required as unary '&' operand
   bitset mybits;
   ^
0_0_18026498_1706.cpp:7:8: error: 'bitset' was not declared in this scope
   bitset mybits;
        ^
0_0_18026498_1706.cpp:9:3: error: lvalue required as unary '&' operand
   cout "enter a binary number: ";...        
   ^
0_0_18026498_1706.cpp:9:8: error: 'cout' was not declared in this scope
   cout "enter a binary number: ";...        
        ^
0_0_18026498_1706.cpp:9:39: error: expected primary-expression before '...' token
   cout "enter a binary number: ";...        
                                       ^
0_0_18026498_1706.cpp:9:39: error: expected '}' at end of input


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 17:14:57, Gzip enabled