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_21591184_30274.cpp:14:18: error: stray '#' in program
     if(a[i][0]=='T')vali=10;
                  ^
0_0_21591184_30274.cpp:14:24: error: stray '#' in program
     if(a[i][0]=='T')vali=10;
                        ^
0_0_21591184_30274.cpp:15:18: error: stray '#' in program
     if(a[i][0]=='J')vali=11;
                  ^
0_0_21591184_30274.cpp:15:24: error: stray '#' in program
     if(a[i][0]=='J')vali=11;
                        ^
0_0_21591184_30274.cpp:16:18: error: stray '#' in program
     if(a[i][0]=='Q')vali=12;
                  ^
0_0_21591184_30274.cpp:16:24: error: stray '#' in program
     if(a[i][0]=='Q')vali=12;
                        ^
0_0_21591184_30274.cpp:17:18: error: stray '#' in program
     if(a[i][0]=='K')vali=13;
                  ^
0_0_21591184_30274.cpp:17:24: error: stray '#' in program
     if(a[i][0]=='K')vali=13;
                        ^
0_0_21591184_30274.cpp:18:18: error: stray '#' in program
     if(a[i][0]=='A')vali=14;
                  ^
0_0_21591184_30274.cpp:18:24: error: stray '#' in program
     if(a[i][0]=='A')vali=14;
                        ^
0_0_21591184_30274.cpp:19:31: error: stray '#' in program
     if(vali==-1)vali=a[i][0]-'0';
                               ^
0_0_21591184_30274.cpp:19:37: error: stray '#' in program
     if(vali==-1)vali=a[i][0]-'0';
                                     ^
0_0_21591184_30274.cpp:20:18: error: stray '#' in program
     if(b[j][0]=='T')valj=10;
                  ^
0_0_21591184_30274.cpp:20:24: error: stray '#' in program
     if(b[j][0]=='T')valj=10;
                        ^
0_0_21591184_30274.cpp:21:18: error: stray '#' in program
     if(b[j][0]=='J')valj=11;
                  ^
0_0_21591184_30274.cpp:21:24: error: stray '#' in program
     if(b[j][0]=='J')valj=11;
                        ^
0_0_21591184_30274.cpp:22:18: error: stray '#' in program
     if(b[j][0]=='Q')valj=12;
                  ^
0_0_21591184_30274.cpp:22:24: error: stray '#' in program
     if(b[j][0]=='Q')valj=12;
                        ^
0_0_21591184_30274.cpp:23:18: error: stray '#' in program
     if(b[j][0]=='K')valj=13;
                  ^
0_0_21591184_30274.cpp:23:24: error: stray '#' in program
     if(b[j][0]=='K')valj=13;
                        ^
0_0_21591184_30274.cpp:24:18: error: stray '#' in program
     if(b[j][0]=='A')valj=14;
                  ^
0_0_21591184_30274.cpp:24:24: error: stray '#' in program
     if(b[j][0]=='A')valj=14;
                        ^
0_0_21591184_30274.cpp:25:31: error: stray '#' in program
     if(valj==-1)valj=b[j][0]-'0';
                               ^
0_0_21591184_30274.cpp:25:37: error: stray '#' in program
     if(valj==-1)valj=b[j][0]-'0';
                                     ^
0_0_21591184_30274.cpp:31:22: error: stray '#' in program
         if(a[i][1]=='C')vali=1;
                      ^
0_0_21591184_30274.cpp:31:28: error: stray '#' in program
         if(a[i][1]=='C')vali=1;
                            ^
0_0_21591184_30274.cpp:32:22: error: stray '#' in program
         if(a[i][1]=='D')vali=2;
                      ^
0_0_21591184_30274.cpp:32:28: error: stray '#' in program
         if(a[i][1]=='D')vali=2;
                            ^
0_0_21591184_30274.cpp:33:22: error: stray '#' in program
         if(a[i][1]=='S')vali=3;
                      ^
0_0_21591184_30274.cpp:33:28: error: stray '#' in program
         if(a[i][1]=='S')vali=3;
                            ^
0_0_21591184_30274.cpp:34:22: error: stray '#' in program
         if(a[i][1]=='H')vali=4;
                      ^
0_0_21591184_30274.cpp:34:28: error: stray '#' in program
         if(a[i][1]=='H')vali=4;
                            ^
0_0_21591184_30274.cpp:35:22: error: stray '#' in program
         if(b[j][1]=='C')valj=1;
                      ^
0_0_21591184_30274.cpp:35:28: error: stray '#' in program
         if(b[j][1]=='C')valj=1;
                            ^
0_0_21591184_30274.cpp:36:22: error: stray '#' in program
         if(b[j][1]=='D')valj=2;
                      ^
0_0_21591184_30274.cpp:36:28: error: stray '#' in program
         if(b[j][1]=='D')valj=2;
                            ^
0_0_21591184_30274.cpp:37:22: error: stray '#' in program
         if(b[j][1]=='S')valj=3;
                      ^
0_0_21591184_30274.cpp:37:28: error: stray '#' in program
         if(b[j][1]=='S')valj=3;
                            ^
0_0_21591184_30274.cpp:38:22: error: stray '#' in program
         if(b[j][1]=='H')valj=4;
                      ^
0_0_21591184_30274.cpp:38:28: error: stray '#' in program
         if(b[j][1]=='H')valj=4;
                            ^
0_0_21591184_30274.cpp: In function 'int judge(int, int)':
0_0_21591184_30274.cpp:14:19: error: lvalue required as unary '&' operand
     if(a[i][0]=='T')vali=10;
                   ^
0_0_21591184_30274.cpp:14:21: error: expected ')' before ';' token
     if(a[i][0]=='T')vali=10;
                     ^
0_0_21591184_30274.cpp:14:22: error: 'T' was not declared in this scope
     if(a[i][0]=='T')vali=10;
                      ^
0_0_21591184_30274.cpp:14:28: error: expected primary-expression before ')' token
     if(a[i][0]=='T')vali=10;
                            ^
0_0_21591184_30274.cpp:15:19: error: lvalue required as unary '&' operand
     if(a[i][0]=='J')vali=11;
                   ^
0_0_21591184_30274.cpp:15:21: error: expected ')' before ';' token
     if(a[i][0]=='J')vali=11;
                     ^
0_0_21591184_30274.cpp:15:22: error: 'J' was not declared in this scope
     if(a[i][0]=='J')vali=11;
                      ^
0_0_21591184_30274.cpp:15:28: error: expected primary-expression before ')' token
     if(a[i][0]=='J')vali=11;
                            ^
0_0_21591184_30274.cpp:16:19: error: lvalue required as unary '&' operand
     if(a[i][0]=='Q')vali=12;
                   ^
0_0_21591184_30274.cpp:16:21: error: expected ')' before ';' token
     if(a[i][0]=='Q')vali=12;
                     ^
0_0_21591184_30274.cpp:16:22: error: 'Q' was not declared in this scope
     if(a[i][0]=='Q')vali=12;
                      ^
0_0_21591184_30274.cpp:16:28: error: expected primary-expression before ')' token
     if(a[i][0]=='Q')vali=12;
                            ^
0_0_21591184_30274.cpp:17:19: error: lvalue required as unary '&' operand
     if(a[i][0]=='K')vali=13;
                   ^
0_0_21591184_30274.cpp:17:21: error: expected ')' before ';' token
     if(a[i][0]=='K')vali=13;
                     ^
0_0_21591184_30274.cpp:17:22: error: 'K' was not declared in this scope
     if(a[i][0]=='K')vali=13;
                      ^
0_0_21591184_30274.cpp:17:28: error: expected primary-expression before ')' token
     if(a[i][0]=='K')vali=13;
                            ^
0_0_21591184_30274.cpp:18:19: error: lvalue required as unary '&' operand
     if(a[i][0]=='A')vali=14;
                   ^
0_0_21591184_30274.cpp:18:21: error: expected ')' before ';' token
     if(a[i][0]=='A')vali=14;
                     ^
0_0_21591184_30274.cpp:18:22: error: 'A' was not declared in this scope
     if(a[i][0]=='A')vali=14;
                      ^
0_0_21591184_30274.cpp:18:28: error: expected primary-expression before ')' token
     if(a[i][0]=='A')vali=14;
                            ^
0_0_21591184_30274.cpp:19:32: error: lvalue required as unary '&' operand
     if(vali==-1)vali=a[i][0]-'0';
                                ^
0_0_21591184_30274.cpp:20:19: error: lvalue required as unary '&' operand
     if(b[j][0]=='T')valj=10;
                   ^
0_0_21591184_30274.cpp:20:21: error: expected ')' before ';' token
     if(b[j][0]=='T')valj=10;
                     ^
0_0_21591184_30274.cpp:20:28: error: expected primary-expression before ')' token
     if(b[j][0]=='T')valj=10;
                            ^
0_0_21591184_30274.cpp:21:19: error: lvalue required as unary '&' operand
     if(b[j][0]=='J')valj=11;
                   ^
0_0_21591184_30274.cpp:21:21: error: expected ')' before ';' token
     if(b[j][0]=='J')valj=11;
                     ^
0_0_21591184_30274.cpp:21:28: error: expected primary-expression before ')' token
     if(b[j][0]=='J')valj=11;
                            ^
0_0_21591184_30274.cpp:22:19: error: lvalue required as unary '&' operand
     if(b[j][0]=='Q')valj=12;
                   ^
0_0_21591184_30274.cpp:22:21: error: expected ')' before ';' token
     if(b[j][0]=='Q')valj=12;
                     ^
0_0_21591184_30274.cpp:22:28: error: expected primary-expression before ')' token
     if(b[j][0]=='Q')valj=12;
                            ^
0_0_21591184_30274.cpp:23:19: error: lvalue required as unary '&' operand
     if(b[j][0]=='K')valj=13;
                   ^
0_0_21591184_30274.cpp:23:21: error: expected ')' before ';' token
     if(b[j][0]=='K')valj=13;
                     ^
0_0_21591184_30274.cpp:23:28: error: expected primary-expr


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-26 21:58:58, Gzip enabled