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_23447934_16840.cpp: In function 'int main()':
0_0_23447934_16840.cpp:13:20: error: 'strlen' was not declared in this scope
         if(strlen(s)>=8&&strlen(s)<=16)
                    ^
0_0_23447934_16840.cpp:17:19: error: invalid types 'int[int]' for array subscript
             if(a[i]>65&&a[i]<90)
                   ^
0_0_23447934_16840.cpp:17:28: error: invalid types 'int[int]' for array subscript
             if(a[i]>65&&a[i]<90)
                            ^
0_0_23447934_16840.cpp:19:18: error: invalid types 'int[int]' for array subscript
            if(a[i]>96&&a[i]<122)
                  ^
0_0_23447934_16840.cpp:19:27: error: invalid types 'int[int]' for array subscript
            if(a[i]>96&&a[i]<122)
                           ^
0_0_23447934_16840.cpp:21:19: error: invalid types 'int[int]' for array subscript
             if(a[i]>48&&a[i]<57)
                   ^
0_0_23447934_16840.cpp:21:28: error: invalid types 'int[int]' for array subscript
             if(a[i]>48&&a[i]<57)
                            ^
0_0_23447934_16840.cpp:23:19: error: invalid types 'int[int]' for array subscript
             if(a[i]==126||a[i]==33)
                   ^
0_0_23447934_16840.cpp:23:30: error: invalid types 'int[int]' for array subscript
             if(a[i]==126||a[i]==33)
                              ^
0_0_23447934_16840.cpp:25:18: error: invalid types 'int[int]' for array subscript
            if(a[i]==64||a[i]==35)
                  ^
0_0_23447934_16840.cpp:25:28: error: invalid types 'int[int]' for array subscript
            if(a[i]==64||a[i]==35)
                            ^
0_0_23447934_16840.cpp:27:19: error: invalid types 'int[int]' for array subscript
             if(a[i]==36||a[i]==37)
                   ^
0_0_23447934_16840.cpp:27:29: error: invalid types 'int[int]' for array subscript
             if(a[i]==36||a[i]==37)
                             ^
0_0_23447934_16840.cpp:29:19: error: invalid types 'int[int]' for array subscript
             if(a[i]==94)
                   ^


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-12-05 16:50:33, Gzip enabled