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_37092665_6045.c: In function 'main':
0_0_37092665_6045.c:9:13: error: expected expression before '/' token
   getchar();//把第一个输入的字符n吸收掉
             ^
0_0_37092665_6045.c:9:13: error: stray '\260' in program
0_0_37092665_6045.c:9:13: error: stray '\321' in program
0_0_37092665_6045.c:9:13: error: stray '\265' in program
0_0_37092665_6045.c:9:13: error: stray '\332' in program
0_0_37092665_6045.c:9:13: error: stray '\322' in program
0_0_37092665_6045.c:9:13: error: stray '\273' in program
0_0_37092665_6045.c:9:13: error: stray '\270' in program
0_0_37092665_6045.c:9:13: error: stray '\366' in program
0_0_37092665_6045.c:9:13: error: stray '\312' in program
0_0_37092665_6045.c:9:13: error: stray '\344' in program
0_0_37092665_6045.c:9:13: error: stray '\310' in program
0_0_37092665_6045.c:9:13: error: stray '\353' in program
0_0_37092665_6045.c:9:13: error: stray '\265' in program
0_0_37092665_6045.c:9:13: error: stray '\304' in program
0_0_37092665_6045.c:9:13: error: stray '\327' in program
0_0_37092665_6045.c:9:13: error: stray '\326' in program
0_0_37092665_6045.c:9:13: error: stray '\267' in program
0_0_37092665_6045.c:9:13: error: stray '\373' in program
0_0_37092665_6045.c:9:13: error: stray '\316' in program
0_0_37092665_6045.c:9:13: error: stray '\374' in program
0_0_37092665_6045.c:9:13: error: stray '\312' in program
0_0_37092665_6045.c:9:13: error: stray '\325' in program
0_0_37092665_6045.c:9:13: error: stray '\265' in program
0_0_37092665_6045.c:9:13: error: stray '\364' in program
0_0_37092665_6045.c:13:4: error: stray '\264' in program
    if(!(a[0]=='_'||(a[0]>='a'&&a[0]<='z')||(a[0]>='A'&&a[0]<='Z')))//gets()存储字符串到数组时,是从a[0]开始储存的,先判断第一个字符是否是合法字符
    ^
0_0_37092665_6045.c:13:4: error: stray '\346' in program
0_0_37092665_6045.c:13:4: error: stray '\264' in program
0_0_37092665_6045.c:13:4: error: stray '\242' in program
0_0_37092665_6045.c:13:4: error: stray '\327' in program
0_0_37092665_6045.c:13:4: error: stray '\326' in program
0_0_37092665_6045.c:13:4: error: stray '\267' in program
0_0_37092665_6045.c:13:4: error: stray '\373' in program
0_0_37092665_6045.c:13:4: error: stray '\264' in program
0_0_37092665_6045.c:13:4: error: stray '\256' in program
0_0_37092665_6045.c:13:4: error: stray '\265' in program
0_0_37092665_6045.c:13:4: error: stray '\275' in program
0_0_37092665_6045.c:13:4: error: stray '\312' in program
0_0_37092665_6045.c:13:4: error: stray '\375' in program
0_0_37092665_6045.c:13:4: error: stray '\327' in program
0_0_37092665_6045.c:13:4: error: stray '\351' in program
0_0_37092665_6045.c:13:4: error: stray '\312' in program
0_0_37092665_6045.c:13:4: error: stray '\261' in program
0_0_37092665_6045.c:13:4: error: stray '\243' in program
0_0_37092665_6045.c:13:4: error: stray '\254' in program
0_0_37092665_6045.c:13:4: error: stray '\312' in program
0_0_37092665_6045.c:13:4: error: stray '\307' in program
0_0_37092665_6045.c:13:4: error: stray '\264' in program
0_0_37092665_6045.c:13:4: error: stray '\323' in program
0_0_37092665_6045.c:13:4: error: stray '\277' in program
0_0_37092665_6045.c:13:4: error: stray '\252' in program
0_0_37092665_6045.c:13:4: error: stray '\312' in program
0_0_37092665_6045.c:13:4: error: stray '\274' in program
0_0_37092665_6045.c:13:4: error: stray '\264' in program
0_0_37092665_6045.c:13:4: error: stray '\242' in program
0_0_37092665_6045.c:13:4: error: stray '\264' in program
0_0_37092665_6045.c:13:4: error: stray '\346' in program
0_0_37092665_6045.c:13:4: error: stray '\265' in program
0_0_37092665_6045.c:13:4: error: stray '\304' in program
0_0_37092665_6045.c:13:4: error: stray '\243' in program
0_0_37092665_6045.c:13:4: error: stray '\254' in program
0_0_37092665_6045.c:13:4: error: stray '\317' in program
0_0_37092665_6045.c:13:4: error: stray '\310' in program
0_0_37092665_6045.c:13:4: error: stray '\305' in program
0_0_37092665_6045.c:13:4: error: stray '\320' in program
0_0_37092665_6045.c:13:4: error: stray '\266' in program
0_0_37092665_6045.c:13:4: error: stray '\317' in program
0_0_37092665_6045.c:13:4: error: stray '\265' in program
0_0_37092665_6045.c:13:4: error: stray '\332' in program
0_0_37092665_6045.c:13:4: error: stray '\322' in program
0_0_37092665_6045.c:13:4: error: stray '\273' in program
0_0_37092665_6045.c:13:4: error: stray '\270' in program
0_0_37092665_6045.c:13:4: error: stray '\366' in program
0_0_37092665_6045.c:13:4: error: stray '\327' in program
0_0_37092665_6045.c:13:4: error: stray '\326' in program
0_0_37092665_6045.c:13:4: error: stray '\267' in program
0_0_37092665_6045.c:13:4: error: stray '\373' in program
0_0_37092665_6045.c:13:4: error: stray '\312' in program
0_0_37092665_6045.c:13:4: error: stray '\307' in program
0_0_37092665_6045.c:13:4: error: stray '\267' in program
0_0_37092665_6045.c:13:4: error: stray '\361' in program
0_0_37092665_6045.c:13:4: error: stray '\312' in program
0_0_37092665_6045.c:13:4: error: stray '\307' in program
0_0_37092665_6045.c:13:4: error: stray '\272' in program
0_0_37092665_6045.c:13:4: error: stray '\317' in program
0_0_37092665_6045.c:13:4: error: stray '\267' in program
0_0_37092665_6045.c:13:4: error: stray '\250' in program
0_0_37092665_6045.c:13:4: error: stray '\327' in program
0_0_37092665_6045.c:13:4: error: stray '\326' in program
0_0_37092665_6045.c:13:4: error: stray '\267' in program
0_0_37092665_6045.c:13:4: error: stray '\373' in program
0_0_37092665_6045.c:17:6: error: stray '\305' in program
      for(i=1;a[i]!='\0';i++)//判断完第一个字符后,从啊[1]开始往后逐一判断各个字符是否是合法字符,直到'\0'结束,用gets()存储字符串时会自动在末尾加上'\0'
      ^
0_0_37092665_6045.c:17:6: error: stray '\320' in program
0_0_37092665_6045.c:17:6: error: stray '\266' in program
0_0_37092665_6045.c:17:6: error: stray '\317' in program
0_0_37092665_6045.c:17:6: error: stray '\315' in program
0_0_37092665_6045.c:17:6: error: stray '\352' in program
0_0_37092665_6045.c:17:6: error: stray '\265' in program
0_0_37092665_6045.c:17:6: error: stray '\332' in program
0_0_37092665_6045.c:17:6: error: stray '\322' in program
0_0_37092665_6045.c:17:6: error: stray '\273' in program
0_0_37092665_6045.c:17:6: error: stray '\270' in program
0_0_37092665_6045.c:17:6: error: stray '\366' in program
0_0_37092665_6045.c:17:6: error: stray '\327' in program
0_0_37092665_6045.c:17:6: error: stray '\326' in program
0_0_37092665_6045.c:17:6: error: stray '\267' in program
0_0_37092665_6045.c:17:6: error: stray '\373' in program
0_0_37092665_6045.c:17:6: error: stray '\272' in program
0_0_37092665_6045.c:17:6: error: stray '\363' in program
0_0_37092665_6045.c:17:6: error: stray '\243' in program
0_0_37092665_6045.c:17:6: error: stray '\254' in program
0_0_37092665_6045.c:17:6: error: stray '\264' in program
0_0_37092665_6045.c:17:6: error: stray '\323' in program
0_0_37092665_6045.c:17:6: error: stray '\260' in program
0_0_37092665_6045.c:17:6: error: stray '\241' in program
0_0_37092665_6045.c:17:6: error: stray '\277' in program
0_0_37092665_6045.c:17:6: error: stray '\252' in program
0_0_37092665_6045.c:17:6: error: stray '\312' in program
0_0_37092665_6045.c:17:6: error: stray '\274' in program
0_0_37092665_6045.c:17:6: error: stray '\315' in program
0_0_37092665_6045.c:17:6: error: stray '\371' in program
0_0_37092665_6045.c:17:6: error: stray '\272' in program
0_0_37092665_6045.c:17:6: error: stray '\363' in program
0_0_37092665_6045.c:17:6: error: stray '\326' in program
0_0_37092665_6045.c:17:6: error: stray '\360' in program
0_0_37092665_6045.c:17:6: error: stray '\322' in program
0_0_37092665_6045.c:17:6: error: stray '\273' in program
0_0_37092665_6045.c:17:6: error: stray '\305' in program
0_0_37092665_6045.c:17:6: error: stray '\320' in program
0_0_37092665_6045.c:17:6: error: stray '\266' in program
0_0_37092665_6045.c:17:6: error: stray '\317' in program
0_0_37092665_6045.c:17:6: error: stray '\270' in program
0_0_37092665_6045.c:17:6: error: stray '\367' in program
0_0_37092665_6045.c:17:6: error: stray '\270' in program
0_0_37092665_6045.c:17:6: error: stray '\366' in program
0_0_37092665_6045.c:17:6: error: stray '\327' in program
0_0_37092665_6045.c:17:6: error: stray '\326' in program
0_0_37092665_6045.c:17:6: error: stray '\267' in program
0_0_37092665_6045.c:17:6: error: stray '\373' in program
0_0_37092665_6045.c:17:6: error: stray '\312' in program
0_0_37092665_6045.c:17:6: error: stray '\307' in program
0_0_37092665_6045.c:17:6: error: stray '\267' in program
0_0_37092665_6045.c:17:6: error: stray '\361' in program
0_0_37092665_6045.c:17:6: error: stray '\312' in program
0_0_37092665_6045.c:17:6: error: stray '\307' in program
0_0_37092665_6045.c:17:6: error: stray '\272' in program
0_0_37092665_6045.c:17:6: error: stray '\317' in program
0_0_37092665_6045.c:17:6: error: stray '\267' in program
0_0_37092665_6045.c:17:6:


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-16 09:44:02, Gzip enabled