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_13810635_19133.cpp:10:27: error: stray '#' in program
 int tag_type(const string& s) {
                           ^
0_0_13810635_19133.cpp:14:20: error: stray '#' in program
   if(!((s[i]<='z' && s[i]>='a') || (s[i]>='0' && s[i]<='9'))) return 0;
                    ^
0_0_13810635_19133.cpp:14:25: error: stray '#' in program
   if(!((s[i]<='z' && s[i]>='a') || (s[i]>='0' && s[i]<='9'))) return 0;
                         ^
0_0_13810635_19133.cpp:14:56: error: stray '#' in program
   if(!((s[i]<='z' && s[i]>='a') || (s[i]>='0' && s[i]<='9'))) return 0;
                                                        ^
0_0_13810635_19133.cpp:14:61: error: stray '#' in program
   if(!((s[i]<='z' && s[i]>='a') || (s[i]>='0' && s[i]<='9'))) return 0;
                                                             ^
0_0_13810635_19133.cpp:17:16: error: stray '#' in program
  if(s[0]=='/' && cnt == 1) return 2;
                ^
0_0_13810635_19133.cpp:17:21: error: stray '#' in program
  if(s[0]=='/' && cnt == 1) return 2;
                     ^
0_0_13810635_19133.cpp:18:25: error: stray '#' in program
  if(s[s.size()-1]=='/' && cnt == 1) return 3;
                         ^
0_0_13810635_19133.cpp:18:30: error: stray '#' in program
  if(s[s.size()-1]=='/' && cnt == 1) return 3;
                              ^
0_0_13810635_19133.cpp:22:23: error: stray '#' in program
 bool hex(const string& s) {
                       ^
0_0_13810635_19133.cpp:26:21: error: stray '#' in program
   if( !((s[i]<='F' && s[i] >='A') || (s[i]<='9' && s[i]>='0') || (s[i]<='f' && s[i]>='a')) ) return false;
                     ^
0_0_13810635_19133.cpp:26:26: error: stray '#' in program
   if( !((s[i]<='F' && s[i] >='A') || (s[i]<='9' && s[i]>='0') || (s[i]<='f' && s[i]>='a')) ) return false;
                          ^
0_0_13810635_19133.cpp:26:58: error: stray '#' in program
   if( !((s[i]<='F' && s[i] >='A') || (s[i]<='9' && s[i]>='0') || (s[i]<='f' && s[i]>='a')) ) return false;
                                                          ^
0_0_13810635_19133.cpp:26:63: error: stray '#' in program
   if( !((s[i]<='F' && s[i] >='A') || (s[i]<='9' && s[i]>='0') || (s[i]<='f' && s[i]>='a')) ) return false;
                                                               ^
0_0_13810635_19133.cpp:26:94: error: stray '#' in program
   if( !((s[i]<='F' && s[i] >='A') || (s[i]<='9' && s[i]>='0') || (s[i]<='f' && s[i]>='a')) ) return false;
                                                                                              ^
0_0_13810635_19133.cpp:26:99: error: stray '#' in program
   if( !((s[i]<='F' && s[i] >='A') || (s[i]<='9' && s[i]>='0') || (s[i]<='f' && s[i]>='a')) ) return false;
                                                                                                   ^
0_0_13810635_19133.cpp:29:29: error: stray '#' in program
 bool bad_qoute(const string& s) {
                             ^
0_0_13810635_19133.cpp:30:15: error: stray '#' in program
  return !(s=="lt" || s=="gt" || s=="amp" || hex(s));
               ^
0_0_13810635_19133.cpp:30:22: error: stray '#' in program
  return !(s=="lt" || s=="gt" || s=="amp" || hex(s));
                      ^
0_0_13810635_19133.cpp:30:34: error: stray '#' in program
  return !(s=="lt" || s=="gt" || s=="amp" || hex(s));
                                  ^
0_0_13810635_19133.cpp:30:41: error: stray '#' in program
  return !(s=="lt" || s=="gt" || s=="amp" || hex(s));
                                         ^
0_0_13810635_19133.cpp:30:53: error: stray '#' in program
  return !(s=="lt" || s=="gt" || s=="amp" || hex(s));
                                                     ^
0_0_13810635_19133.cpp:30:61: error: stray '#' in program
  return !(s=="lt" || s=="gt" || s=="amp" || hex(s));
                                                             ^
0_0_13810635_19133.cpp:32:27: error: stray '#' in program
 bool bad_txt(const string& s) {
                           ^
0_0_13810635_19133.cpp:36:31: error: stray '#' in program
    for(int j=i+1; j<s.size() && s[j] != ';'; ++j) qoute += s[j];
                               ^
0_0_13810635_19133.cpp:36:36: error: stray '#' in program
    for(int j=i+1; j<s.size() && s[j] != ';'; ++j) qoute += s[j];
                                    ^
0_0_13810635_19133.cpp:38:11: error: stray '#' in program
    qoute="";
           ^
0_0_13810635_19133.cpp:38:16: error: stray '#' in program
    qoute="";
                ^
0_0_13810635_19133.cpp:44:25: error: stray '#' in program
 void get_l(stringstream& os, string& s, char del) {
                         ^
0_0_13810635_19133.cpp:44:41: error: stray '#' in program
 void get_l(stringstream& os, string& s, char del) {
                                         ^
0_0_13810635_19133.cpp:60:7: error: stray '#' in program
    s="";
       ^
0_0_13810635_19133.cpp:60:12: error: stray '#' in program
    s="";
            ^
0_0_13810635_19133.cpp:68:7: error: stray '#' in program
    s="";
       ^
0_0_13810635_19133.cpp:68:12: error: stray '#' in program
    s="";
            ^
0_0_13810635_19133.cpp:90:34: error: stray '#' in program
   if(inv || st.size() > 0) puts("invalid");
                                  ^
0_0_13810635_19133.cpp:90:46: error: stray '#' in program
   if(inv || st.size() > 0) puts("invalid");
                                              ^
0_0_13810635_19133.cpp:91:14: error: stray '#' in program
   else puts("valid");
              ^
0_0_13810635_19133.cpp:91:24: error: stray '#' in program
   else puts("valid");
                        ^
0_0_13810635_19133.cpp:10:28: error: expected ',' or '...' before numeric constant
 int tag_type(const string& s) {
                            ^
0_0_13810635_19133.cpp:10:30: error: expected ')' before ';' token
 int tag_type(const string& s) {
                              ^
0_0_13810635_19133.cpp:10:32: error: 's' does not name a type
 int tag_type(const string& s) {
                                ^
0_0_13810635_19133.cpp:22:24: error: expected ',' or '...' before numeric constant
 bool hex(const string& s) {
                        ^
0_0_13810635_19133.cpp:22:26: error: expected ')' before ';' token
 bool hex(const string& s) {
                          ^
0_0_13810635_19133.cpp:22:28: error: 's' does not name a type
 bool hex(const string& s) {
                            ^
0_0_13810635_19133.cpp:29:30: error: expected ',' or '...' before numeric constant
 bool bad_qoute(const string& s) {
                              ^
0_0_13810635_19133.cpp:29:32: error: expected ')' before ';' token
 bool bad_qoute(const string& s) {
                                ^
0_0_13810635_19133.cpp:29:34: error: 's' does not name a type
 bool bad_qoute(const string& s) {
                                  ^
0_0_13810635_19133.cpp:32:28: error: expected ',' or '...' before numeric constant
 bool bad_txt(const string& s) {
                            ^
0_0_13810635_19133.cpp:32:30: error: expected ')' before ';' token
 bool bad_txt(const string& s) {
                              ^
0_0_13810635_19133.cpp:32:32: error: 's' does not name a type
 bool bad_txt(const string& s) {
                                ^
0_0_13810635_19133.cpp:44:26: error: expected ',' or '...' before numeric constant
 void get_l(stringstream& os, string& s, char del) {
                          ^
0_0_13810635_19133.cpp:44:28: error: expected ')' before ';' token
 void get_l(stringstream& os, string& s, char del) {
                            ^
0_0_13810635_19133.cpp:44:30: error: 'os' does not name a type
 void get_l(stringstream& os, string& s, char del) {
                              ^
0_0_13810635_19133.cpp:44:46: error: 's' does not name a type
 void get_l(stringstream& os, string& s, char del) {
                                              ^
0_0_13810635_19133.cpp: In function 'int main()':
0_0_13810635_19133.cpp:60:8: error: lvalue required as unary '&' operand
    s="";
        ^
0_0_13810635_19133.cpp:60:13: error: lvalue required as unary '&' operand
    s="";
             ^
0_0_13810635_19133.cpp:68:8: error: lvalue required as unary '&' operand
    s="";
        ^
0_0_13810635_19133.cpp:68:13: error: lvalue required as unary '&' operand
    s="";
             ^
0_0_13810635_19133.cpp:90:35: error: lvalue required as unary '&' operand
   if(inv || st.size() > 0) puts("invalid");
                                   ^
0_0_13810635_19133.cpp:90:38: error: 'invalid' was not declared in this scope
   if(inv || st.size() > 0) puts("invalid");
                                      ^
0_0_13810635_19133.cpp:90:50: error: expected primary-expression before ')' token
   if(inv || st.size() > 0) puts("invalid");
                                                  ^
0_0_13810635_19133.cpp:91:3: error: 'else' without a previous 'if'
   else puts("valid");
   ^
0_0_13810635_19133.cpp:91:15: error: lvalue required as unary '&' oper


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 08:52:52, Gzip enabled