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_18486139_6533.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_18486139_6533.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_18486139_6533.cpp: In function 'int main()':
0_0_18486139_6533.cpp:9:5: error: 'stack' was not declared in this scope
     stack st;
     ^
0_0_18486139_6533.cpp:19:11: error: 'cin' was not declared in this scope
     while(cin>>n)
           ^
0_0_18486139_6533.cpp:25:8: error: expected primary-expression before 'for'
        for(i=1;i>b[i];
        ^
0_0_18486139_6533.cpp:25:8: error: expected ')' before 'for'
0_0_18486139_6533.cpp:29:9: error: expected primary-expression before 'while'
         while(!st.empty())
         ^
0_0_18486139_6533.cpp:29:9: error: expected ')' before 'while'
0_0_18486139_6533.cpp:29:16: error: 'st' was not declared in this scope
         while(!st.empty())
                ^
0_0_18486139_6533.cpp:36:15: error: 'in' was not declared in this scope
         while(in)
               ^
0_0_18486139_6533.cpp:42:20: error: 'st' was not declared in this scope
             while(!st.empty()&&st.top()==b[j])
                    ^


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-02 08:01:53, Gzip enabled