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_18759407_1288.c: In function 'main':
0_0_18759407_1288.c:7:19: error: expected expression before '/' token
  char ch[6] = {0};//输入的字符串
                   ^
0_0_18759407_1288.c:7:19: error: stray '\312' in program
0_0_18759407_1288.c:7:19: error: stray '\344' in program
0_0_18759407_1288.c:7:19: error: stray '\310' in program
0_0_18759407_1288.c:7:19: error: stray '\353' in program
0_0_18759407_1288.c:7:19: error: stray '\265' in program
0_0_18759407_1288.c:7:19: error: stray '\304' in program
0_0_18759407_1288.c:7:19: error: stray '\327' in program
0_0_18759407_1288.c:7:19: error: stray '\326' in program
0_0_18759407_1288.c:7:19: error: stray '\267' in program
0_0_18759407_1288.c:7:19: error: stray '\373' in program
0_0_18759407_1288.c:7:19: error: stray '\264' in program
0_0_18759407_1288.c:7:19: error: stray '\256' in program
0_0_18759407_1288.c:8:38: error: expected expression before '/' token
  char str1[6] = {96, 96, 96, 96,0,0};//放入输入字符串使其与source格式相同
                                      ^
0_0_18759407_1288.c:8:38: error: stray '\267' in program
0_0_18759407_1288.c:8:38: error: stray '\305' in program
0_0_18759407_1288.c:8:38: error: stray '\310' in program
0_0_18759407_1288.c:8:38: error: stray '\353' in program
0_0_18759407_1288.c:8:38: error: stray '\312' in program
0_0_18759407_1288.c:8:38: error: stray '\344' in program
0_0_18759407_1288.c:8:38: error: stray '\310' in program
0_0_18759407_1288.c:8:38: error: stray '\353' in program
0_0_18759407_1288.c:8:38: error: stray '\327' in program
0_0_18759407_1288.c:8:38: error: stray '\326' in program
0_0_18759407_1288.c:8:38: error: stray '\267' in program
0_0_18759407_1288.c:8:38: error: stray '\373' in program
0_0_18759407_1288.c:8:38: error: stray '\264' in program
0_0_18759407_1288.c:8:38: error: stray '\256' in program
0_0_18759407_1288.c:8:38: error: stray '\312' in program
0_0_18759407_1288.c:8:38: error: stray '\271' in program
0_0_18759407_1288.c:8:38: error: stray '\306' in program
0_0_18759407_1288.c:8:38: error: stray '\344' in program
0_0_18759407_1288.c:8:38: error: stray '\323' in program
0_0_18759407_1288.c:8:38: error: stray '\353' in program
0_0_18759407_1288.c:8:38: error: stray '\270' in program
0_0_18759407_1288.c:8:38: error: stray '\361' in program
0_0_18759407_1288.c:8:38: error: stray '\312' in program
0_0_18759407_1288.c:8:38: error: stray '\275' in program
0_0_18759407_1288.c:8:38: error: stray '\317' in program
0_0_18759407_1288.c:8:38: error: stray '\340' in program
0_0_18759407_1288.c:8:38: error: stray '\315' in program
0_0_18759407_1288.c:8:38: error: stray '\254' in program
0_0_18759407_1288.c:9:38: error: expected expression before '/' token
  char str2[6] = {96, 96, 96, 96,0,0};//用来恢复str1的初值
                                      ^
0_0_18759407_1288.c:9:38: error: stray '\323' in program
0_0_18759407_1288.c:9:38: error: stray '\303' in program
0_0_18759407_1288.c:9:38: error: stray '\300' in program
0_0_18759407_1288.c:9:38: error: stray '\264' in program
0_0_18759407_1288.c:9:38: error: stray '\273' in program
0_0_18759407_1288.c:9:38: error: stray '\326' in program
0_0_18759407_1288.c:9:38: error: stray '\270' in program
0_0_18759407_1288.c:9:38: error: stray '\264' in program
0_0_18759407_1288.c:9:38: error: stray '\265' in program
0_0_18759407_1288.c:9:38: error: stray '\304' in program
0_0_18759407_1288.c:9:38: error: stray '\263' in program
0_0_18759407_1288.c:9:38: error: stray '\365' in program
0_0_18759407_1288.c:9:38: error: stray '\326' in program
0_0_18759407_1288.c:9:38: error: stray '\265' in program
0_0_18759407_1288.c:23:3: error: expected expression before '/' token
   //scanf("%s", ch);
   ^
0_0_18759407_1288.c:53:3: error: expected expression before '/' token
   //printf("%d\n", m);
   ^
0_0_18759407_1288.c:54:17: error: expected expression before '/' token
   count = 0;    //记录字符串对应的值,即累加成功的值
                 ^
0_0_18759407_1288.c:54:17: error: stray '\274' in program
0_0_18759407_1288.c:54:17: error: stray '\307' in program
0_0_18759407_1288.c:54:17: error: stray '\302' in program
0_0_18759407_1288.c:54:17: error: stray '\274' in program
0_0_18759407_1288.c:54:17: error: stray '\327' in program
0_0_18759407_1288.c:54:17: error: stray '\326' in program
0_0_18759407_1288.c:54:17: error: stray '\267' in program
0_0_18759407_1288.c:54:17: error: stray '\373' in program
0_0_18759407_1288.c:54:17: error: stray '\264' in program
0_0_18759407_1288.c:54:17: error: stray '\256' in program
0_0_18759407_1288.c:54:17: error: stray '\266' in program
0_0_18759407_1288.c:54:17: error: stray '\324' in program
0_0_18759407_1288.c:54:17: error: stray '\323' in program
0_0_18759407_1288.c:54:17: error: stray '\246' in program
0_0_18759407_1288.c:54:17: error: stray '\265' in program
0_0_18759407_1288.c:54:17: error: stray '\304' in program
0_0_18759407_1288.c:54:17: error: stray '\326' in program
0_0_18759407_1288.c:54:17: error: stray '\265' in program
0_0_18759407_1288.c:54:17: error: stray '\243' in program
0_0_18759407_1288.c:54:17: error: stray '\254' in program
0_0_18759407_1288.c:54:17: error: stray '\274' in program
0_0_18759407_1288.c:54:17: error: stray '\264' in program
0_0_18759407_1288.c:54:17: error: stray '\300' in program
0_0_18759407_1288.c:54:17: error: stray '\333' in program
0_0_18759407_1288.c:54:17: error: stray '\274' in program
0_0_18759407_1288.c:54:17: error: stray '\323' in program
0_0_18759407_1288.c:54:17: error: stray '\263' in program
0_0_18759407_1288.c:54:17: error: stray '\311' in program
0_0_18759407_1288.c:54:17: error: stray '\271' in program
0_0_18759407_1288.c:54:17: error: stray '\246' in program
0_0_18759407_1288.c:54:17: error: stray '\265' in program
0_0_18759407_1288.c:54:17: error: stray '\304' in program
0_0_18759407_1288.c:54:17: error: stray '\326' in program
0_0_18759407_1288.c:54:17: error: stray '\265' in program
0_0_18759407_1288.c:57:33: error: expected expression before '/' token
   strcpy(&str1[5 - length], ch);//将输入的字符串按source格式交给str1
                                 ^
0_0_18759407_1288.c:57:33: error: stray '\275' in program
0_0_18759407_1288.c:57:33: error: stray '\253' in program
0_0_18759407_1288.c:57:33: error: stray '\312' in program
0_0_18759407_1288.c:57:33: error: stray '\344' in program
0_0_18759407_1288.c:57:33: error: stray '\310' in program
0_0_18759407_1288.c:57:33: error: stray '\353' in program
0_0_18759407_1288.c:57:33: error: stray '\265' in program
0_0_18759407_1288.c:57:33: error: stray '\304' in program
0_0_18759407_1288.c:57:33: error: stray '\327' in program
0_0_18759407_1288.c:57:33: error: stray '\326' in program
0_0_18759407_1288.c:57:33: error: stray '\267' in program
0_0_18759407_1288.c:57:33: error: stray '\373' in program
0_0_18759407_1288.c:57:33: error: stray '\264' in program
0_0_18759407_1288.c:57:33: error: stray '\256' in program
0_0_18759407_1288.c:57:33: error: stray '\260' in program
0_0_18759407_1288.c:57:33: error: stray '\264' in program
0_0_18759407_1288.c:57:33: error: stray '\270' in program
0_0_18759407_1288.c:57:33: error: stray '\361' in program
0_0_18759407_1288.c:57:33: error: stray '\312' in program
0_0_18759407_1288.c:57:33: error: stray '\275' in program
0_0_18759407_1288.c:57:33: error: stray '\275' in program
0_0_18759407_1288.c:57:33: error: stray '\273' in program
0_0_18759407_1288.c:57:33: error: stray '\270' in program
0_0_18759407_1288.c:57:33: error: stray '\370' in program
0_0_18759407_1288.c:62:27: error: expected expression before '/' token
   if(m == 1)printf("0\n");//输出非顺序输入结果    
                           ^
0_0_18759407_1288.c:62:27: error: stray '\312' in program
0_0_18759407_1288.c:62:27: error: stray '\344' in program
0_0_18759407_1288.c:62:27: error: stray '\263' in program
0_0_18759407_1288.c:62:27: error: stray '\366' in program
0_0_18759407_1288.c:62:27: error: stray '\267' in program
0_0_18759407_1288.c:62:27: error: stray '\307' in program
0_0_18759407_1288.c:62:27: error: stray '\313' in program
0_0_18759407_1288.c:62:27: error: stray '\263' in program
0_0_18759407_1288.c:62:27: error: stray '\320' in program
0_0_18759407_1288.c:62:27: error: stray '\362' in program
0_0_18759407_1288.c:62:27: error: stray '\312' in program
0_0_18759407_1288.c:62:27: error: stray '\344' in program
0_0_18759407_1288.c:62:27: error: stray '\310' in program
0_0_18759407_1288.c:62:27: error: stray '\353' in program
0_0_18759407_1288.c:62:27: error: stray '\275' in program
0_0_18759407_1288.c:62:27: error: stray '\341' in program
0_0_18759407_1288.c:62:27: error: stray '\271' in program
0_0_18759407_1288.c:62:27: error: stray '\373' in program
0_0_18759407_1288.c:69:6: error: stray '\274' in program
      if(ch_source[1] <= ch_source[0] && ch_source[1] != 96 || ch_source[1] == 96 && ch_source[0] != 96 && ch_source[1] == 96)continue;//检查字符是否按从小到大顺序输出,若不是跳过下面语句
      ^
0_0_18759407_1288.c:69:6: e


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:43:18, Gzip enabled