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_21600193_18489.cpp:13:17: error: stray '#' in program
     if(s[l] == '(' && s[r] == ')') return 1;
                 ^
0_0_21600193_18489.cpp:13:23: error: stray '#' in program
     if(s[l] == '(' && s[r] == ')') return 1;
                       ^
0_0_21600193_18489.cpp:13:40: error: stray '#' in program
     if(s[l] == '(' && s[r] == ')') return 1;
                                        ^
0_0_21600193_18489.cpp:13:46: error: stray '#' in program
     if(s[l] == '(' && s[r] == ')') return 1;
                                              ^
0_0_21600193_18489.cpp:14:17: error: stray '#' in program
     if(s[l] == '[' && s[r] == ']') return 1;
                 ^
0_0_21600193_18489.cpp:14:23: error: stray '#' in program
     if(s[l] == '[' && s[r] == ']') return 1;
                       ^
0_0_21600193_18489.cpp:14:40: error: stray '#' in program
     if(s[l] == '[' && s[r] == ']') return 1;
                                        ^
0_0_21600193_18489.cpp:14:46: error: stray '#' in program
     if(s[l] == '[' && s[r] == ']') return 1;
                                              ^
0_0_21600193_18489.cpp:24:45: error: stray '#' in program
     while(scanf("%s", s) != EOF && s[0] != 'e')
                                             ^
0_0_21600193_18489.cpp:24:51: error: stray '#' in program
     while(scanf("%s", s) != EOF && s[0] != 'e')
                                                   ^
0_0_21600193_18489.cpp: In function 'int match(int, int)':
0_0_21600193_18489.cpp:13:18: error: lvalue required as unary '&' operand
     if(s[l] == '(' && s[r] == ')') return 1;
                  ^
0_0_21600193_18489.cpp:13:20: error: expected ')' before ';' token
     if(s[l] == '(' && s[r] == ')') return 1;
                    ^
0_0_21600193_18489.cpp:13:24: error: lvalue required as unary '&' operand
     if(s[l] == '(' && s[r] == ')') return 1;
                        ^
0_0_21600193_18489.cpp:13:26: error: expected ')' before ';' token
     if(s[l] == '(' && s[r] == ')') return 1;
                          ^
0_0_21600193_18489.cpp:13:32: error: expected ';' before '[' token
     if(s[l] == '(' && s[r] == ')') return 1;
                                ^
0_0_21600193_18489.cpp:13:44: error: expected primary-expression before ')' token
     if(s[l] == '(' && s[r] == ')') return 1;
                                            ^
0_0_21600193_18489.cpp:13:50: error: expected primary-expression before ')' token
     if(s[l] == '(' && s[r] == ')') return 1;
                                                  ^
0_0_21600193_18489.cpp:14:18: error: lvalue required as unary '&' operand
     if(s[l] == '[' && s[r] == ']') return 1;
                  ^
0_0_21600193_18489.cpp:14:20: error: expected ')' before ';' token
     if(s[l] == '[' && s[r] == ']') return 1;
                    ^
0_0_21600193_18489.cpp:14:24: error: expected ',' before numeric constant
     if(s[l] == '[' && s[r] == ']') return 1;
                        ^
0_0_21600193_18489.cpp:14:24: error: expected identifier before numeric constant
0_0_21600193_18489.cpp:14:26: error: expected ']' before ';' token
     if(s[l] == '[' && s[r] == ']') return 1;
                          ^
0_0_21600193_18489.cpp: In lambda function:
0_0_21600193_18489.cpp:14:26: error: expected '{' before ';' token
0_0_21600193_18489.cpp: In function 'int match(int, int)':
0_0_21600193_18489.cpp:14:32: error: expected ';' before '[' token
     if(s[l] == '[' && s[r] == ']') return 1;
                                ^
0_0_21600193_18489.cpp:14:44: error: expected primary-expression before ']' token
     if(s[l] == '[' && s[r] == ']') return 1;
                                            ^
0_0_21600193_18489.cpp:14:50: error: expected primary-expression before ')' token
     if(s[l] == '[' && s[r] == ']') return 1;
                                                  ^
0_0_21600193_18489.cpp:13:31: error: label 's' used but not defined
     if(s[l] == '(' && s[r] == ')') return 1;
                               ^
0_0_21600193_18489.cpp: In function 'int main()':
0_0_21600193_18489.cpp:24:46: error: lvalue required as unary '&' operand
     while(scanf("%s", s) != EOF && s[0] != 'e')
                                              ^
0_0_21600193_18489.cpp:24:48: error: expected ')' before ';' token
     while(scanf("%s", s) != EOF && s[0] != 'e')
                                                ^
0_0_21600193_18489.cpp:24:49: error: 'e' was not declared in this scope
     while(scanf("%s", s) != EOF && s[0] != 'e')
                                                 ^
0_0_21600193_18489.cpp:24:55: error: expected primary-expression before ')' token
     while(scanf("%s", s) != EOF && s[0] != 'e')
                                                       ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-11 06:10:44, Gzip enabled