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_36420483_4195.cpp: In function 'int main()':
0_0_36420483_4195.cpp:7:11: error: invalid types 'char[int]' for array subscript
 if(ch[i][1]>=ch[i][0]&&ch[i][1]>=ch[i][2])
           ^
0_0_36420483_4195.cpp:7:21: error: invalid types 'char[int]' for array subscript
 if(ch[i][1]>=ch[i][0]&&ch[i][1]>=ch[i][2])
                     ^
0_0_36420483_4195.cpp:7:31: error: invalid types 'char[int]' for array subscript
 if(ch[i][1]>=ch[i][0]&&ch[i][1]>=ch[i][2])
                               ^
0_0_36420483_4195.cpp:7:41: error: invalid types 'char[int]' for array subscript
 if(ch[i][1]>=ch[i][0]&&ch[i][1]>=ch[i][2])
                                         ^
0_0_36420483_4195.cpp:8:18: error: invalid types 'char[int]' for array subscript
        if(ch[i][0]>=ch[i][2]){
                  ^
0_0_36420483_4195.cpp:8:28: error: invalid types 'char[int]' for array subscript
        if(ch[i][0]>=ch[i][2]){
                            ^
0_0_36420483_4195.cpp:9:37: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][2],ch[i][0],ch[i][1]);
                                     ^
0_0_36420483_4195.cpp:9:46: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][2],ch[i][0],ch[i][1]);
                                              ^
0_0_36420483_4195.cpp:9:55: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][2],ch[i][0],ch[i][1]);
                                                       ^
0_0_36420483_4195.cpp:11:23: error: invalid types 'char[int]' for array subscript
        else if(ch[i][0]<=ch[i][2]){
                       ^
0_0_36420483_4195.cpp:11:33: error: invalid types 'char[int]' for array subscript
        else if(ch[i][0]<=ch[i][2]){
                                 ^
0_0_36420483_4195.cpp:12:37: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][0],ch[i][2],ch[i][1]);
                                     ^
0_0_36420483_4195.cpp:12:46: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][0],ch[i][2],ch[i][1]);
                                              ^
0_0_36420483_4195.cpp:12:55: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][0],ch[i][2],ch[i][1]);
                                                       ^
0_0_36420483_4195.cpp:14:11: error: invalid types 'char[int]' for array subscript
 if(ch[i][0]>=ch[i][1]&&ch[i][0]>=ch[i][2])
           ^
0_0_36420483_4195.cpp:14:21: error: invalid types 'char[int]' for array subscript
 if(ch[i][0]>=ch[i][1]&&ch[i][0]>=ch[i][2])
                     ^
0_0_36420483_4195.cpp:14:31: error: invalid types 'char[int]' for array subscript
 if(ch[i][0]>=ch[i][1]&&ch[i][0]>=ch[i][2])
                               ^
0_0_36420483_4195.cpp:14:41: error: invalid types 'char[int]' for array subscript
 if(ch[i][0]>=ch[i][1]&&ch[i][0]>=ch[i][2])
                                         ^
0_0_36420483_4195.cpp:15:18: error: invalid types 'char[int]' for array subscript
        if(ch[i][1]>=ch[i][2]){
                  ^
0_0_36420483_4195.cpp:15:28: error: invalid types 'char[int]' for array subscript
        if(ch[i][1]>=ch[i][2]){
                            ^
0_0_36420483_4195.cpp:16:37: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][2],ch[i][1],ch[i][0]);
                                     ^
0_0_36420483_4195.cpp:16:46: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][2],ch[i][1],ch[i][0]);
                                              ^
0_0_36420483_4195.cpp:16:55: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][2],ch[i][1],ch[i][0]);
                                                       ^
0_0_36420483_4195.cpp:18:23: error: invalid types 'char[int]' for array subscript
        else if(ch[i][1]<=ch[i][2]){
                       ^
0_0_36420483_4195.cpp:18:33: error: invalid types 'char[int]' for array subscript
        else if(ch[i][1]<=ch[i][2]){
                                 ^
0_0_36420483_4195.cpp:19:37: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][1],ch[i][2],ch[i][0]);
                                     ^
0_0_36420483_4195.cpp:19:46: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][1],ch[i][2],ch[i][0]);
                                              ^
0_0_36420483_4195.cpp:19:55: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][1],ch[i][2],ch[i][0]);
                                                       ^
0_0_36420483_4195.cpp:21:11: error: invalid types 'char[int]' for array subscript
 if(ch[i][2]>=ch[i][0]&&ch[i][2]>=ch[i][1])
           ^
0_0_36420483_4195.cpp:21:21: error: invalid types 'char[int]' for array subscript
 if(ch[i][2]>=ch[i][0]&&ch[i][2]>=ch[i][1])
                     ^
0_0_36420483_4195.cpp:21:31: error: invalid types 'char[int]' for array subscript
 if(ch[i][2]>=ch[i][0]&&ch[i][2]>=ch[i][1])
                               ^
0_0_36420483_4195.cpp:21:41: error: invalid types 'char[int]' for array subscript
 if(ch[i][2]>=ch[i][0]&&ch[i][2]>=ch[i][1])
                                         ^
0_0_36420483_4195.cpp:22:18: error: invalid types 'char[int]' for array subscript
        if(ch[i][0]>=ch[i][1]){
                  ^
0_0_36420483_4195.cpp:22:28: error: invalid types 'char[int]' for array subscript
        if(ch[i][0]>=ch[i][1]){
                            ^
0_0_36420483_4195.cpp:23:37: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][1],ch[i][0],ch[i][2]);
                                     ^
0_0_36420483_4195.cpp:23:46: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][1],ch[i][0],ch[i][2]);
                                              ^
0_0_36420483_4195.cpp:23:55: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][1],ch[i][0],ch[i][2]);
                                                       ^
0_0_36420483_4195.cpp:25:23: error: invalid types 'char[int]' for array subscript
        else if(ch[i][0]<=ch[i][1]){
                       ^
0_0_36420483_4195.cpp:25:33: error: invalid types 'char[int]' for array subscript
        else if(ch[i][0]<=ch[i][1]){
                                 ^
0_0_36420483_4195.cpp:26:37: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][0],ch[i][1],ch[i][2]);
                                     ^
0_0_36420483_4195.cpp:26:46: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][0],ch[i][1],ch[i][2]);
                                              ^
0_0_36420483_4195.cpp:26:55: error: invalid types 'char[int]' for array subscript
            printf("%c %c %c",ch[i][0],ch[i][1],ch[i][2]);
                                                       ^


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 02:53:47, Gzip enabled