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_21023734_16161.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_21023734_16161.cpp:2:11: error: #include expects "FILENAME" or <FILENAME>
  #include 
           ^
0_0_21023734_16161.cpp: In function 'int main()':
0_0_21023734_16161.cpp:8:2: error: 'stack' was not declared in this scope
  stack st;
  ^
0_0_21023734_16161.cpp:13:8: error: 'cin' was not declared in this scope
  while(cin>>n)
        ^
0_0_21023734_16161.cpp:16:2: error: expected primary-expression before 'for'
  for(i=1;i>b[i];
  ^
0_0_21023734_16161.cpp:16:2: error: expected ')' before 'for'
0_0_21023734_16161.cpp:18:2: error: expected primary-expression before 'while'
  while(!st.empty())
  ^
0_0_21023734_16161.cpp:18:2: error: expected ')' before 'while'
0_0_21023734_16161.cpp:18:9: error: 'st' was not declared in this scope
  while(!st.empty())
         ^
0_0_21023734_16161.cpp:23:7: error: 'in' was not declared in this scope
 while(in)
       ^
0_0_21023734_16161.cpp:26:9: error: 'st' was not declared in this scope
  while(!st.empty()&&st.top()==b[j])
         ^
0_0_21023734_16161.cpp: At global scope:
0_0_21023734_16161.cpp:32:2: error: expected unqualified-id before 'if'
  if(st.empty())
  ^
0_0_21023734_16161.cpp:34:2: error: expected unqualified-id before 'else'
  else
  ^
0_0_21023734_16161.cpp:36:2: 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-30 03:43:23, Gzip enabled