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_18759354_6633.c: In function 'main':
0_0_18759354_6633.c:7:19: error: expected expression before '/' token
  char ch[6] = {0};//输入的字符串
                   ^
0_0_18759354_6633.c:7:19: error: stray '\312' in program
0_0_18759354_6633.c:7:19: error: stray '\344' in program
0_0_18759354_6633.c:7:19: error: stray '\310' in program
0_0_18759354_6633.c:7:19: error: stray '\353' in program
0_0_18759354_6633.c:7:19: error: stray '\265' in program
0_0_18759354_6633.c:7:19: error: stray '\304' in program
0_0_18759354_6633.c:7:19: error: stray '\327' in program
0_0_18759354_6633.c:7:19: error: stray '\326' in program
0_0_18759354_6633.c:7:19: error: stray '\267' in program
0_0_18759354_6633.c:7:19: error: stray '\373' in program
0_0_18759354_6633.c:7:19: error: stray '\264' in program
0_0_18759354_6633.c:7:19: error: stray '\256' in program
0_0_18759354_6633.c:8:38: error: expected expression before '/' token
  char str1[6] = {96, 96, 96, 96,0,0};//放入输入字符串使其与source格式相同
                                      ^
0_0_18759354_6633.c:8:38: error: stray '\267' in program
0_0_18759354_6633.c:8:38: error: stray '\305' in program
0_0_18759354_6633.c:8:38: error: stray '\310' in program
0_0_18759354_6633.c:8:38: error: stray '\353' in program
0_0_18759354_6633.c:8:38: error: stray '\312' in program
0_0_18759354_6633.c:8:38: error: stray '\344' in program
0_0_18759354_6633.c:8:38: error: stray '\310' in program
0_0_18759354_6633.c:8:38: error: stray '\353' in program
0_0_18759354_6633.c:8:38: error: stray '\327' in program
0_0_18759354_6633.c:8:38: error: stray '\326' in program
0_0_18759354_6633.c:8:38: error: stray '\267' in program
0_0_18759354_6633.c:8:38: error: stray '\373' in program
0_0_18759354_6633.c:8:38: error: stray '\264' in program
0_0_18759354_6633.c:8:38: error: stray '\256' in program
0_0_18759354_6633.c:8:38: error: stray '\312' in program
0_0_18759354_6633.c:8:38: error: stray '\271' in program
0_0_18759354_6633.c:8:38: error: stray '\306' in program
0_0_18759354_6633.c:8:38: error: stray '\344' in program
0_0_18759354_6633.c:8:38: error: stray '\323' in program
0_0_18759354_6633.c:8:38: error: stray '\353' in program
0_0_18759354_6633.c:8:38: error: stray '\270' in program
0_0_18759354_6633.c:8:38: error: stray '\361' in program
0_0_18759354_6633.c:8:38: error: stray '\312' in program
0_0_18759354_6633.c:8:38: error: stray '\275' in program
0_0_18759354_6633.c:8:38: error: stray '\317' in program
0_0_18759354_6633.c:8:38: error: stray '\340' in program
0_0_18759354_6633.c:8:38: error: stray '\315' in program
0_0_18759354_6633.c:8:38: error: stray '\254' in program
0_0_18759354_6633.c:9:38: error: expected expression before '/' token
  char str2[6] = {96, 96, 96, 96,0,0};//用来恢复str1的初值
                                      ^
0_0_18759354_6633.c:9:38: error: stray '\323' in program
0_0_18759354_6633.c:9:38: error: stray '\303' in program
0_0_18759354_6633.c:9:38: error: stray '\300' in program
0_0_18759354_6633.c:9:38: error: stray '\264' in program
0_0_18759354_6633.c:9:38: error: stray '\273' in program
0_0_18759354_6633.c:9:38: error: stray '\326' in program
0_0_18759354_6633.c:9:38: error: stray '\270' in program
0_0_18759354_6633.c:9:38: error: stray '\264' in program
0_0_18759354_6633.c:9:38: error: stray '\265' in program
0_0_18759354_6633.c:9:38: error: stray '\304' in program
0_0_18759354_6633.c:9:38: error: stray '\263' in program
0_0_18759354_6633.c:9:38: error: stray '\365' in program
0_0_18759354_6633.c:9:38: error: stray '\326' in program
0_0_18759354_6633.c:9:38: error: stray '\265' in program
0_0_18759354_6633.c:22:3: error: expected expression before '/' token
   //scanf("%s", ch);
   ^
0_0_18759354_6633.c:52:3: error: expected expression before '/' token
   //printf("%d\n", m);
   ^
0_0_18759354_6633.c:53:17: error: expected expression before '/' token
   count = 0;    //记录字符串对应的值,即累加成功的值
                 ^
0_0_18759354_6633.c:53:17: error: stray '\274' in program
0_0_18759354_6633.c:53:17: error: stray '\307' in program
0_0_18759354_6633.c:53:17: error: stray '\302' in program
0_0_18759354_6633.c:53:17: error: stray '\274' in program
0_0_18759354_6633.c:53:17: error: stray '\327' in program
0_0_18759354_6633.c:53:17: error: stray '\326' in program
0_0_18759354_6633.c:53:17: error: stray '\267' in program
0_0_18759354_6633.c:53:17: error: stray '\373' in program
0_0_18759354_6633.c:53:17: error: stray '\264' in program
0_0_18759354_6633.c:53:17: error: stray '\256' in program
0_0_18759354_6633.c:53:17: error: stray '\266' in program
0_0_18759354_6633.c:53:17: error: stray '\324' in program
0_0_18759354_6633.c:53:17: error: stray '\323' in program
0_0_18759354_6633.c:53:17: error: stray '\246' in program
0_0_18759354_6633.c:53:17: error: stray '\265' in program
0_0_18759354_6633.c:53:17: error: stray '\304' in program
0_0_18759354_6633.c:53:17: error: stray '\326' in program
0_0_18759354_6633.c:53:17: error: stray '\265' in program
0_0_18759354_6633.c:53:17: error: stray '\243' in program
0_0_18759354_6633.c:53:17: error: stray '\254' in program
0_0_18759354_6633.c:53:17: error: stray '\274' in program
0_0_18759354_6633.c:53:17: error: stray '\264' in program
0_0_18759354_6633.c:53:17: error: stray '\300' in program
0_0_18759354_6633.c:53:17: error: stray '\333' in program
0_0_18759354_6633.c:53:17: error: stray '\274' in program
0_0_18759354_6633.c:53:17: error: stray '\323' in program
0_0_18759354_6633.c:53:17: error: stray '\263' in program
0_0_18759354_6633.c:53:17: error: stray '\311' in program
0_0_18759354_6633.c:53:17: error: stray '\271' in program
0_0_18759354_6633.c:53:17: error: stray '\246' in program
0_0_18759354_6633.c:53:17: error: stray '\265' in program
0_0_18759354_6633.c:53:17: error: stray '\304' in program
0_0_18759354_6633.c:53:17: error: stray '\326' in program
0_0_18759354_6633.c:53:17: error: stray '\265' in program
0_0_18759354_6633.c:57:11: error: 'str1' undeclared (first use in this function)
   strcpy(&str1[5 - length], ch);//将输入的字符串按source格式交给str1
           ^
0_0_18759354_6633.c:57:11: note: each undeclared identifier is reported only once for each function it appears in
0_0_18759354_6633.c:57:33: error: expected expression before '/' token
   strcpy(&str1[5 - length], ch);//将输入的字符串按source格式交给str1
                                 ^
0_0_18759354_6633.c:57:33: error: stray '\275' in program
0_0_18759354_6633.c:57:33: error: stray '\253' in program
0_0_18759354_6633.c:57:33: error: stray '\312' in program
0_0_18759354_6633.c:57:33: error: stray '\344' in program
0_0_18759354_6633.c:57:33: error: stray '\310' in program
0_0_18759354_6633.c:57:33: error: stray '\353' in program
0_0_18759354_6633.c:57:33: error: stray '\265' in program
0_0_18759354_6633.c:57:33: error: stray '\304' in program
0_0_18759354_6633.c:57:33: error: stray '\327' in program
0_0_18759354_6633.c:57:33: error: stray '\326' in program
0_0_18759354_6633.c:57:33: error: stray '\267' in program
0_0_18759354_6633.c:57:33: error: stray '\373' in program
0_0_18759354_6633.c:57:33: error: stray '\264' in program
0_0_18759354_6633.c:57:33: error: stray '\256' in program
0_0_18759354_6633.c:57:33: error: stray '\260' in program
0_0_18759354_6633.c:57:33: error: stray '\264' in program
0_0_18759354_6633.c:57:33: error: stray '\270' in program
0_0_18759354_6633.c:57:33: error: stray '\361' in program
0_0_18759354_6633.c:57:33: error: stray '\312' in program
0_0_18759354_6633.c:57:33: error: stray '\275' in program
0_0_18759354_6633.c:57:33: error: stray '\275' in program
0_0_18759354_6633.c:57:33: error: stray '\273' in program
0_0_18759354_6633.c:57:33: error: stray '\270' in program
0_0_18759354_6633.c:57:33: error: stray '\370' in program
0_0_18759354_6633.c:62:27: error: expected expression before '/' token
   if(m == 1)printf("0\n");//输出非顺序输入结果    
                           ^
0_0_18759354_6633.c:62:27: error: stray '\312' in program
0_0_18759354_6633.c:62:27: error: stray '\344' in program
0_0_18759354_6633.c:62:27: error: stray '\263' in program
0_0_18759354_6633.c:62:27: error: stray '\366' in program
0_0_18759354_6633.c:62:27: error: stray '\267' in program
0_0_18759354_6633.c:62:27: error: stray '\307' in program
0_0_18759354_6633.c:62:27: error: stray '\313' in program
0_0_18759354_6633.c:62:27: error: stray '\263' in program
0_0_18759354_6633.c:62:27: error: stray '\320' in program
0_0_18759354_6633.c:62:27: error: stray '\362' in program
0_0_18759354_6633.c:62:27: error: stray '\312' in program
0_0_18759354_6633.c:62:27: error: stray '\344' in program
0_0_18759354_6633.c:62:27: error: stray '\310' in program
0_0_18759354_6633.c:62:27: error: stray '\353' in program
0_0_18759354_6633.c:62:27: error: stray '\275' in program
0_0_18759354_6633.c:62:27: error: stray '\341' in program
0_0_18759354_6633.c:62:27: error: stray '\271' in program
0_0_18759354_6633.c:62:27: error: stray '\373' in program
R


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-25 04:37:04, Gzip enabled