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_15507060_10312.cpp: In function 'int main()':
0_0_15507060_10312.cpp:13:16: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
   case 33:a[15]="Zhejiang";break;
                ^
0_0_15507060_10312.cpp:14:16: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
   case 11:a[15]="Beijing";break;
                ^
0_0_15507060_10312.cpp:15:16: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
   case 71:a[15]="Taiwan";break;
                ^
0_0_15507060_10312.cpp:16:16: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
   case 81:a[15]="Hong Kong";break;
                ^
0_0_15507060_10312.cpp:17:16: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
   case 82:a[15]="Macao";break;
                ^
0_0_15507060_10312.cpp:18:16: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
   case 54:a[15]="Tibet";break;
                ^
0_0_15507060_10312.cpp:19:16: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
   case 21:a[15]="Liaoning";break;
                ^
0_0_15507060_10312.cpp:20:16: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
   case 31:a[15]="Shanghai";break;
                ^


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-17 07:23:04, Gzip enabled