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_24696682_24226.c: In function 'main':
0_0_24696682_24226.c:22:41: error: expected expression before '/' token
         for (i = 0; i < n; i++) {       // 获取要停留的楼层.  
                                         ^
0_0_24696682_24226.c:22:41: error: stray '\273' in program
0_0_24696682_24226.c:22:41: error: stray '\361' in program
0_0_24696682_24226.c:22:41: error: stray '\310' in program
0_0_24696682_24226.c:22:41: error: stray '\241' in program
0_0_24696682_24226.c:22:41: error: stray '\322' in program
0_0_24696682_24226.c:22:41: error: stray '\252' in program
0_0_24696682_24226.c:22:41: error: stray '\315' in program
0_0_24696682_24226.c:22:41: error: stray '\243' in program
0_0_24696682_24226.c:22:41: error: stray '\301' in program
0_0_24696682_24226.c:22:41: error: stray '\364' in program
0_0_24696682_24226.c:22:41: error: stray '\265' in program
0_0_24696682_24226.c:22:41: error: stray '\304' in program
0_0_24696682_24226.c:22:41: error: stray '\302' in program
0_0_24696682_24226.c:22:41: error: stray '\245' in program
0_0_24696682_24226.c:22:41: error: stray '\262' in program
0_0_24696682_24226.c:22:41: error: stray '\343' in program
0_0_24696682_24226.c:25:41: error: expected expression before '/' token
         TotalTime += p[0] * 6 + 5 * n;  // 停 n 次, 肯定会有 n*5 seconds  
                                         ^
0_0_24696682_24226.c:25:41: error: stray '\315' in program
0_0_24696682_24226.c:25:41: error: stray '\243' in program
0_0_24696682_24226.c:25:41: error: stray '\264' in program
0_0_24696682_24226.c:25:41: error: stray '\316' in program
0_0_24696682_24226.c:25:41: error: stray '\277' in program
0_0_24696682_24226.c:25:41: error: stray '\317' in program
0_0_24696682_24226.c:25:41: error: stray '\266' in program
0_0_24696682_24226.c:25:41: error: stray '\250' in program
0_0_24696682_24226.c:25:41: error: stray '\273' in program
0_0_24696682_24226.c:25:41: error: stray '\341' in program
0_0_24696682_24226.c:25:41: error: stray '\323' in program
0_0_24696682_24226.c:25:41: error: stray '\320' in program
0_0_24696682_24226.c:28:13: error: stray '\261' in program
             if (p[i] >= p[i - 1]) {     // 比较楼层大小.  
             ^
0_0_24696682_24226.c:28:13: error: stray '\310' in program
0_0_24696682_24226.c:28:13: error: stray '\275' in program
0_0_24696682_24226.c:28:13: error: stray '\317' in program
0_0_24696682_24226.c:28:13: error: stray '\302' in program
0_0_24696682_24226.c:28:13: error: stray '\245' in program
0_0_24696682_24226.c:28:13: error: stray '\262' in program
0_0_24696682_24226.c:28:13: error: stray '\343' in program
0_0_24696682_24226.c:28:13: error: stray '\264' in program
0_0_24696682_24226.c:28:13: error: stray '\363' in program
0_0_24696682_24226.c:28:13: error: stray '\320' in program
0_0_24696682_24226.c:28:13: error: stray '\241' in program
0_0_24696682_24226.c:29:17: error: stray '\317' in program
                 TotalTime += (p[i] - p[i - 1]) * 6;    // 向上  
                 ^
0_0_24696682_24226.c:29:17: error: stray '\362' in program
0_0_24696682_24226.c:29:17: error: stray '\311' in program
0_0_24696682_24226.c:29:17: error: stray '\317' in program
0_0_24696682_24226.c:31:17: error: stray '\317' in program
                 TotalTime += (p[i - 1] - p[i]) * 4;    // 向下  
                 ^
0_0_24696682_24226.c:31:17: error: stray '\362' in program
0_0_24696682_24226.c:31:17: error: stray '\317' in program
0_0_24696682_24226.c:31:17: error: stray '\302' in program
0_0_24696682_24226.c:36:41: error: expected expression before '/' token
         TotalTime = 0;                  // 这个得清零, 进入下次计算  
                                         ^
0_0_24696682_24226.c:36:41: error: stray '\325' in program
0_0_24696682_24226.c:36:41: error: stray '\342' in program
0_0_24696682_24226.c:36:41: error: stray '\270' in program
0_0_24696682_24226.c:36:41: error: stray '\366' in program
0_0_24696682_24226.c:36:41: error: stray '\265' in program
0_0_24696682_24226.c:36:41: error: stray '\303' in program
0_0_24696682_24226.c:36:41: error: stray '\307' in program
0_0_24696682_24226.c:36:41: error: stray '\345' in program
0_0_24696682_24226.c:36:41: error: stray '\301' in program
0_0_24696682_24226.c:36:41: error: stray '\343' in program
0_0_24696682_24226.c:36:41: error: stray '\275' in program
0_0_24696682_24226.c:36:41: error: stray '\370' in program
0_0_24696682_24226.c:36:41: error: stray '\310' in program
0_0_24696682_24226.c:36:41: error: stray '\353' in program
0_0_24696682_24226.c:36:41: error: stray '\317' in program
0_0_24696682_24226.c:36:41: error: stray '\302' in program
0_0_24696682_24226.c:36:41: error: stray '\264' in program
0_0_24696682_24226.c:36:41: error: stray '\316' in program
0_0_24696682_24226.c:36:41: error: stray '\274' in program
0_0_24696682_24226.c:36:41: error: stray '\306' in program
0_0_24696682_24226.c:36:41: error: stray '\313' in program
0_0_24696682_24226.c:36:41: error: stray '\343' in program
0_0_24696682_24226.c:37:41: error: expected expression before '/' token
         free(p);                        // 不然只要运算次数多, 就会产生内存泄露.  
                                         ^
0_0_24696682_24226.c:37:41: error: stray '\262' in program
0_0_24696682_24226.c:37:41: error: stray '\273' in program
0_0_24696682_24226.c:37:41: error: stray '\310' in program
0_0_24696682_24226.c:37:41: error: stray '\273' in program
0_0_24696682_24226.c:37:41: error: stray '\326' in program
0_0_24696682_24226.c:37:41: error: stray '\273' in program
0_0_24696682_24226.c:37:41: error: stray '\322' in program
0_0_24696682_24226.c:37:41: error: stray '\252' in program
0_0_24696682_24226.c:37:41: error: stray '\324' in program
0_0_24696682_24226.c:37:41: error: stray '\313' in program
0_0_24696682_24226.c:37:41: error: stray '\313' in program
0_0_24696682_24226.c:37:41: error: stray '\343' in program
0_0_24696682_24226.c:37:41: error: stray '\264' in program
0_0_24696682_24226.c:37:41: error: stray '\316' in program
0_0_24696682_24226.c:37:41: error: stray '\312' in program
0_0_24696682_24226.c:37:41: error: stray '\375' in program
0_0_24696682_24226.c:37:41: error: stray '\266' in program
0_0_24696682_24226.c:37:41: error: stray '\340' in program
0_0_24696682_24226.c:37:41: error: stray '\276' in program
0_0_24696682_24226.c:37:41: error: stray '\315' in program
0_0_24696682_24226.c:37:41: error: stray '\273' in program
0_0_24696682_24226.c:37:41: error: stray '\341' in program
0_0_24696682_24226.c:37:41: error: stray '\262' in program
0_0_24696682_24226.c:37:41: error: stray '\372' in program
0_0_24696682_24226.c:37:41: error: stray '\311' in program
0_0_24696682_24226.c:37:41: error: stray '\372' in program
0_0_24696682_24226.c:37:41: error: stray '\304' in program
0_0_24696682_24226.c:37:41: error: stray '\332' in program
0_0_24696682_24226.c:37:41: error: stray '\264' in program
0_0_24696682_24226.c:37:41: error: stray '\346' in program
0_0_24696682_24226.c:37:41: error: stray '\320' in program
0_0_24696682_24226.c:37:41: error: stray '\271' in program
0_0_24696682_24226.c:37:41: error: stray '\302' in program
0_0_24696682_24226.c:37:41: error: stray '\266' in program


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