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_21597738_1945.cpp:100:41: error: stray '#' in program
         if (isdigit(sa[i]) && sa[i] != '2') a[sa[i] - 48]++;
                                         ^
0_0_21597738_1945.cpp:100:47: error: stray '#' in program
         if (isdigit(sa[i]) && sa[i] != '2') a[sa[i] - 48]++;
                                               ^
0_0_21597738_1945.cpp:101:28: error: stray '#' in program
         else if (sa[i] == 'Y') a[17]++;
                            ^
0_0_21597738_1945.cpp:101:34: error: stray '#' in program
         else if (sa[i] == 'Y') a[17]++;
                                  ^
0_0_21597738_1945.cpp:102:28: error: stray '#' in program
         else if (sa[i] == 'X') a[16]++;
                            ^
0_0_21597738_1945.cpp:102:34: error: stray '#' in program
         else if (sa[i] == 'X') a[16]++;
                                  ^
0_0_21597738_1945.cpp:103:28: error: stray '#' in program
         else if (sa[i] == '2') a[15]++;
                            ^
0_0_21597738_1945.cpp:103:34: error: stray '#' in program
         else if (sa[i] == '2') a[15]++;
                                  ^
0_0_21597738_1945.cpp:104:28: error: stray '#' in program
         else if (sa[i] == 'A') a[14]++;
                            ^
0_0_21597738_1945.cpp:104:34: error: stray '#' in program
         else if (sa[i] == 'A') a[14]++;
                                  ^
0_0_21597738_1945.cpp:105:28: error: stray '#' in program
         else if (sa[i] == 'K') a[13]++;
                            ^
0_0_21597738_1945.cpp:105:34: error: stray '#' in program
         else if (sa[i] == 'K') a[13]++;
                                  ^
0_0_21597738_1945.cpp:106:28: error: stray '#' in program
         else if (sa[i] == 'Q') a[12]++;
                            ^
0_0_21597738_1945.cpp:106:34: error: stray '#' in program
         else if (sa[i] == 'Q') a[12]++;
                                  ^
0_0_21597738_1945.cpp:107:28: error: stray '#' in program
         else if (sa[i] == 'J') a[11]++;
                            ^
0_0_21597738_1945.cpp:107:34: error: stray '#' in program
         else if (sa[i] == 'J') a[11]++;
                                  ^
0_0_21597738_1945.cpp:108:28: error: stray '#' in program
         else if (sa[i] == 'T') a[10]++;
                            ^
0_0_21597738_1945.cpp:108:34: error: stray '#' in program
         else if (sa[i] == 'T') a[10]++;
                                  ^
0_0_21597738_1945.cpp:111:45: error: stray '#' in program
             if (isdigit(sb[i]) && sb[i] != '2') b[sb[i] - 48]++;
                                             ^
0_0_21597738_1945.cpp:111:51: error: stray '#' in program
             if (isdigit(sb[i]) && sb[i] != '2') b[sb[i] - 48]++;
                                                   ^
0_0_21597738_1945.cpp:112:32: error: stray '#' in program
             else if (sb[i] == 'Y') b[17]++;
                                ^
0_0_21597738_1945.cpp:112:38: error: stray '#' in program
             else if (sb[i] == 'Y') b[17]++;
                                      ^
0_0_21597738_1945.cpp:113:32: error: stray '#' in program
             else if (sb[i] == 'X') b[16]++;
                                ^
0_0_21597738_1945.cpp:113:38: error: stray '#' in program
             else if (sb[i] == 'X') b[16]++;
                                      ^
0_0_21597738_1945.cpp:114:32: error: stray '#' in program
             else if (sb[i] == '2') b[15]++;
                                ^
0_0_21597738_1945.cpp:114:38: error: stray '#' in program
             else if (sb[i] == '2') b[15]++;
                                      ^
0_0_21597738_1945.cpp:115:32: error: stray '#' in program
             else if (sb[i] == 'A') b[14]++;
                                ^
0_0_21597738_1945.cpp:115:38: error: stray '#' in program
             else if (sb[i] == 'A') b[14]++;
                                      ^
0_0_21597738_1945.cpp:116:32: error: stray '#' in program
             else if (sb[i] == 'K') b[13]++;
                                ^
0_0_21597738_1945.cpp:116:38: error: stray '#' in program
             else if (sb[i] == 'K') b[13]++;
                                      ^
0_0_21597738_1945.cpp:117:32: error: stray '#' in program
             else if (sb[i] == 'Q') b[12]++;
                                ^
0_0_21597738_1945.cpp:117:38: error: stray '#' in program
             else if (sb[i] == 'Q') b[12]++;
                                      ^
0_0_21597738_1945.cpp:118:32: error: stray '#' in program
             else if (sb[i] == 'J') b[11]++;
                                ^
0_0_21597738_1945.cpp:118:38: error: stray '#' in program
             else if (sb[i] == 'J') b[11]++;
                                      ^
0_0_21597738_1945.cpp:119:32: error: stray '#' in program
             else if (sb[i] == 'T') b[10]++;
                                ^
0_0_21597738_1945.cpp:119:38: error: stray '#' in program
             else if (sb[i] == 'T') b[10]++;
                                      ^
0_0_21597738_1945.cpp: In function 'void init()':
0_0_21597738_1945.cpp:100:42: error: lvalue required as unary '&' operand
         if (isdigit(sa[i]) && sa[i] != '2') a[sa[i] - 48]++;
                                          ^
0_0_21597738_1945.cpp:100:44: error: expected ')' before ';' token
         if (isdigit(sa[i]) && sa[i] != '2') a[sa[i] - 48]++;
                                            ^
0_0_21597738_1945.cpp:100:51: error: expected primary-expression before ')' token
         if (isdigit(sa[i]) && sa[i] != '2') a[sa[i] - 48]++;
                                                   ^
0_0_21597738_1945.cpp:101:9: error: 'else' without a previous 'if'
         else if (sa[i] == 'Y') a[17]++;
         ^
0_0_21597738_1945.cpp:101:29: error: lvalue required as unary '&' operand
         else if (sa[i] == 'Y') a[17]++;
                             ^
0_0_21597738_1945.cpp:101:31: error: expected ')' before ';' token
         else if (sa[i] == 'Y') a[17]++;
                               ^
0_0_21597738_1945.cpp:101:32: error: 'Y' was not declared in this scope
         else if (sa[i] == 'Y') a[17]++;
                                ^
0_0_21597738_1945.cpp:101:38: error: expected primary-expression before ')' token
         else if (sa[i] == 'Y') a[17]++;
                                      ^
0_0_21597738_1945.cpp:102:9: error: 'else' without a previous 'if'
         else if (sa[i] == 'X') a[16]++;
         ^
0_0_21597738_1945.cpp:102:29: error: lvalue required as unary '&' operand
         else if (sa[i] == 'X') a[16]++;
                             ^
0_0_21597738_1945.cpp:102:31: error: expected ')' before ';' token
         else if (sa[i] == 'X') a[16]++;
                               ^
0_0_21597738_1945.cpp:102:32: error: 'X' was not declared in this scope
         else if (sa[i] == 'X') a[16]++;
                                ^
0_0_21597738_1945.cpp:102:38: error: expected primary-expression before ')' token
         else if (sa[i] == 'X') a[16]++;
                                      ^
0_0_21597738_1945.cpp:103:9: error: 'else' without a previous 'if'
         else if (sa[i] == '2') a[15]++;
         ^
0_0_21597738_1945.cpp:103:29: error: lvalue required as unary '&' operand
         else if (sa[i] == '2') a[15]++;
                             ^
0_0_21597738_1945.cpp:103:31: error: expected ')' before ';' token
         else if (sa[i] == '2') a[15]++;
                               ^
0_0_21597738_1945.cpp:103:38: error: expected primary-expression before ')' token
         else if (sa[i] == '2') a[15]++;
                                      ^
0_0_21597738_1945.cpp:104:9: error: 'else' without a previous 'if'
         else if (sa[i] == 'A') a[14]++;
         ^
0_0_21597738_1945.cpp:104:29: error: lvalue required as unary '&' operand
         else if (sa[i] == 'A') a[14]++;
                             ^
0_0_21597738_1945.cpp:104:31: error: expected ')' before ';' token
         else if (sa[i] == 'A') a[14]++;
                               ^
0_0_21597738_1945.cpp:104:32: error: 'A' was not declared in this scope
         else if (sa[i] == 'A') a[14]++;
                                ^
0_0_21597738_1945.cpp:104:38: error: expected primary-expression before ')' token
         else if (sa[i] == 'A') a[14]++;
                                      ^
0_0_21597738_1945.cpp:105:9: error: 'else' without a previous 'if'
         else if (sa[i] == 'K') a[13]++;
         ^
0_0_21597738_1945.cpp:105:29: error: lvalue required as unary '&' operand
         else if (sa[i] == 'K') a[13]++;
                             ^
0_0_21597738_1945.cpp:105:31: error: expected ')' before ';' token
         else if (sa[i] == 'K') a[13]++;
                               ^
0_0_21597738_1945.cpp:105:32: error: 'K' was not declared in this scope
         else if (sa[i] == 'K') a[13]++;
                                ^
0_0_21597738_1945.cpp:105:38: error: expected primary-expression before ')' token
         else if (sa[i] == 'K') a[13]++;
        


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-27 00:33:27, Gzip enabled