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_28548759_4494.cpp:13:3: error: stray '#' in program
      return false;
   ^
0_0_28548759_4494.cpp:13:9: error: stray '#' in program
      return false;
         ^
0_0_28548759_4494.cpp:13:15: error: stray '#' in program
      return false;
               ^
0_0_28548759_4494.cpp:13:21: error: stray '#' in program
      return false;
                     ^
0_0_28548759_4494.cpp:16:2: error: stray '#' in program
         for(j = 1; j <= n+1; j++)
  ^
0_0_28548759_4494.cpp:16:9: error: stray '#' in program
         for(j = 1; j <= n+1; j++)
         ^
0_0_28548759_4494.cpp:16:16: error: stray '#' in program
         for(j = 1; j <= n+1; j++)
                ^
0_0_28548759_4494.cpp:16:22: error: stray '#' in program
         for(j = 1; j <= n+1; j++)
                      ^
0_0_28548759_4494.cpp:16:28: error: stray '#' in program
         for(j = 1; j <= n+1; j++)
                            ^
0_0_28548759_4494.cpp:16:34: error: stray '#' in program
         for(j = 1; j <= n+1; j++)
                                  ^
0_0_28548759_4494.cpp:17:2: error: stray '#' in program
         if(stone[j] - stone[i] > jump)
  ^
0_0_28548759_4494.cpp:17:9: error: stray '#' in program
         if(stone[j] - stone[i] > jump)
         ^
0_0_28548759_4494.cpp:17:16: error: stray '#' in program
         if(stone[j] - stone[i] > jump)
                ^
0_0_28548759_4494.cpp:17:23: error: stray '#' in program
         if(stone[j] - stone[i] > jump)
                       ^
0_0_28548759_4494.cpp:18:3: error: stray '#' in program
      if(j == i + 1) return false;
   ^
0_0_28548759_4494.cpp:18:9: error: stray '#' in program
      if(j == i + 1) return false;
         ^
0_0_28548759_4494.cpp:18:15: error: stray '#' in program
      if(j == i + 1) return false;
               ^
0_0_28548759_4494.cpp:18:21: error: stray '#' in program
      if(j == i + 1) return false;
                     ^
0_0_28548759_4494.cpp:19:3: error: stray '#' in program
      else
   ^
0_0_28548759_4494.cpp:19:9: error: stray '#' in program
      else
         ^
0_0_28548759_4494.cpp:19:15: error: stray '#' in program
      else
               ^
0_0_28548759_4494.cpp:19:21: error: stray '#' in program
      else
                     ^
0_0_28548759_4494.cpp:20:2: error: stray '#' in program
             {
  ^
0_0_28548759_4494.cpp:20:9: error: stray '#' in program
             {
         ^
0_0_28548759_4494.cpp:20:16: error: stray '#' in program
             {
                ^
0_0_28548759_4494.cpp:20:23: error: stray '#' in program
             {
                       ^
0_0_28548759_4494.cpp:20:30: error: stray '#' in program
             {
                              ^
0_0_28548759_4494.cpp:20:37: error: stray '#' in program
             {
                                     ^
0_0_28548759_4494.cpp:21:2: error: stray '#' in program
                 i = --j; //贪心,让每一次跳得尽可能远,由于为下一次循环做准备时要执行循环条件的第三部分j++,所以此处先--j。
  ^
0_0_28548759_4494.cpp:21:9: error: stray '#' in program
                 i = --j; //贪心,让每一次跳得尽可能远,由于为下一次循环做准备时要执行循环条件的第三部分j++,所以此处先--j。
         ^
0_0_28548759_4494.cpp:21:16: error: stray '#' in program
                 i = --j; //贪心,让每一次跳得尽可能远,由于为下一次循环做准备时要执行循环条件的第三部分j++,所以此处先--j。
                ^
0_0_28548759_4494.cpp:21:23: error: stray '#' in program
                 i = --j; //贪心,让每一次跳得尽可能远,由于为下一次循环做准备时要执行循环条件的第三部分j++,所以此处先--j。
                       ^
0_0_28548759_4494.cpp:21:30: error: stray '#' in program
                 i = --j; //贪心,让每一次跳得尽可能远,由于为下一次循环做准备时要执行循环条件的第三部分j++,所以此处先--j。
                              ^
0_0_28548759_4494.cpp:21:37: error: stray '#' in program
                 i = --j; //贪心,让每一次跳得尽可能远,由于为下一次循环做准备时要执行循环条件的第三部分j++,所以此处先--j。
                                     ^
0_0_28548759_4494.cpp:21:44: error: stray '#' in program
                 i = --j; //贪心,让每一次跳得尽可能远,由于为下一次循环做准备时要执行循环条件的第三部分j++,所以此处先--j。
                                            ^
0_0_28548759_4494.cpp:21:51: error: stray '#' in program
                 i = --j; //贪心,让每一次跳得尽可能远,由于为下一次循环做准备时要执行循环条件的第三部分j++,所以此处先--j。
                                                   ^
0_0_28548759_4494.cpp:22:2: error: stray '#' in program
                 cnt++;
  ^
0_0_28548759_4494.cpp:22:9: error: stray '#' in program
                 cnt++;
         ^
0_0_28548759_4494.cpp:22:16: error: stray '#' in program
                 cnt++;
                ^
0_0_28548759_4494.cpp:22:23: error: stray '#' in program
                 cnt++;
                       ^
0_0_28548759_4494.cpp:22:30: error: stray '#' in program
                 cnt++;
                              ^
0_0_28548759_4494.cpp:22:37: error: stray '#' in program
                 cnt++;
                                     ^
0_0_28548759_4494.cpp:22:44: error: stray '#' in program
                 cnt++;
                                            ^
0_0_28548759_4494.cpp:22:51: error: stray '#' in program
                 cnt++;
                                                   ^
0_0_28548759_4494.cpp:23:2: error: stray '#' in program
             }
  ^
0_0_28548759_4494.cpp:23:9: error: stray '#' in program
             }
         ^
0_0_28548759_4494.cpp:23:16: error: stray '#' in program
             }
                ^
0_0_28548759_4494.cpp:23:23: error: stray '#' in program
             }
                       ^
0_0_28548759_4494.cpp:23:30: error: stray '#' in program
             }
                              ^
0_0_28548759_4494.cpp:23:37: error: stray '#' in program
             }
                                     ^
0_0_28548759_4494.cpp:26:18: error: stray '#' in program
  if((++cnt) > m)  //跳过河的最后一步没有记录,所以cnt要自增1。
                  ^
0_0_28548759_4494.cpp:39:2: error: stray '#' in program
         int l, r, mid;
  ^
0_0_28548759_4494.cpp:39:9: error: stray '#' in program
         int l, r, mid;
         ^
0_0_28548759_4494.cpp:39:16: error: stray '#' in program
         int l, r, mid;
                ^
0_0_28548759_4494.cpp:39:22: error: stray '#' in program
         int l, r, mid;
                      ^
0_0_28548759_4494.cpp:39:28: error: stray '#' in program
         int l, r, mid;
                            ^
0_0_28548759_4494.cpp:39:34: error: stray '#' in program
         int l, r, mid;
                                  ^
0_0_28548759_4494.cpp:42:3: error: stray '#' in program
      stone[0] = 0;
   ^
0_0_28548759_4494.cpp:42:9: error: stray '#' in program
      stone[0] = 0;
         ^
0_0_28548759_4494.cpp:42:15: error: stray '#' in program
      stone[0] = 0;
               ^
0_0_28548759_4494.cpp:42:21: error: stray '#' in program
      stone[0] = 0;
                     ^
0_0_28548759_4494.cpp:43:3: error: stray '#' in program
      for(int i = 1; i <= n; i++)
   ^
0_0_28548759_4494.cpp:43:10: error: stray '#' in program
      for(int i = 1; i <= n; i++)
          ^
0_0_28548759_4494.cpp:44:2: error: stray '#' in program
             scanf("%d", &stone[i]);
  ^
0_0_28548759_4494.cpp:44:9: error: stray '#' in program
             scanf("%d", &stone[i]);
         ^
0_0_28548759_4494.cpp:44:16: error: stray '#' in program
             scanf("%d", &stone[i]);
                ^
0_0_28548759_4494.cpp:44:23: error: stray '#' in program
             scanf("%


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-18 23:15:52, Gzip enabled