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_31810229_977.cpp:9:2: error: stray '#' in program
      return a.sl > b.sl;
  ^
0_0_31810229_977.cpp:9:8: error: stray '#' in program
      return a.sl > b.sl;
        ^
0_0_31810229_977.cpp:9:14: error: stray '#' in program
      return a.sl > b.sl;
              ^
0_0_31810229_977.cpp:9:20: error: stray '#' in program
      return a.sl > b.sl;
                    ^
0_0_31810229_977.cpp:10:2: error: stray '#' in program
     }
  ^
0_0_31810229_977.cpp:10:8: error: stray '#' in program
     }
        ^
0_0_31810229_977.cpp:10:14: error: stray '#' in program
     }
              ^
0_0_31810229_977.cpp:10:20: error: stray '#' in program
     }
                    ^
0_0_31810229_977.cpp:16:2: error: stray '#' in program
     scanf("%d",&n);
  ^
0_0_31810229_977.cpp:16:8: error: stray '#' in program
     scanf("%d",&n);
        ^
0_0_31810229_977.cpp:16:14: error: stray '#' in program
     scanf("%d",&n);
              ^
0_0_31810229_977.cpp:16:20: error: stray '#' in program
     scanf("%d",&n);
                    ^
0_0_31810229_977.cpp:17:2: error: stray '#' in program
     k = n;
  ^
0_0_31810229_977.cpp:17:8: error: stray '#' in program
     k = n;
        ^
0_0_31810229_977.cpp:17:14: error: stray '#' in program
     k = n;
              ^
0_0_31810229_977.cpp:17:20: error: stray '#' in program
     k = n;
                    ^
0_0_31810229_977.cpp:18:2: error: stray '#' in program
     for(int i=0;i<n;i++){
  ^
0_0_31810229_977.cpp:18:8: error: stray '#' in program
     for(int i=0;i<n;i++){
        ^
0_0_31810229_977.cpp:18:14: error: stray '#' in program
     for(int i=0;i<n;i++){
              ^
0_0_31810229_977.cpp:18:20: error: stray '#' in program
     for(int i=0;i<n;i++){
                    ^
0_0_31810229_977.cpp:19:2: error: stray '#' in program
     scanf("%s %d",&a[i].color,&a[i].sl);
  ^
0_0_31810229_977.cpp:19:8: error: stray '#' in program
     scanf("%s %d",&a[i].color,&a[i].sl);
        ^
0_0_31810229_977.cpp:19:14: error: stray '#' in program
     scanf("%s %d",&a[i].color,&a[i].sl);
              ^
0_0_31810229_977.cpp:19:20: error: stray '#' in program
     scanf("%s %d",&a[i].color,&a[i].sl);
                    ^
0_0_31810229_977.cpp:20:2: error: stray '#' in program
     }
  ^
0_0_31810229_977.cpp:20:8: error: stray '#' in program
     }
        ^
0_0_31810229_977.cpp:20:14: error: stray '#' in program
     }
              ^
0_0_31810229_977.cpp:20:20: error: stray '#' in program
     }
                    ^
0_0_31810229_977.cpp:21:2: error: stray '#' in program
     sort(a,a+n,cmp);
  ^
0_0_31810229_977.cpp:21:8: error: stray '#' in program
     sort(a,a+n,cmp);
        ^
0_0_31810229_977.cpp:21:14: error: stray '#' in program
     sort(a,a+n,cmp);
              ^
0_0_31810229_977.cpp:21:20: error: stray '#' in program
     sort(a,a+n,cmp);
                    ^
0_0_31810229_977.cpp:22:2: error: stray '#' in program
     for(int i = 0; i < n;i++){
  ^
0_0_31810229_977.cpp:22:8: error: stray '#' in program
     for(int i = 0; i < n;i++){
        ^
0_0_31810229_977.cpp:22:14: error: stray '#' in program
     for(int i = 0; i < n;i++){
              ^
0_0_31810229_977.cpp:22:20: error: stray '#' in program
     for(int i = 0; i < n;i++){
                    ^
0_0_31810229_977.cpp:23:2: error: stray '#' in program
         if (i!=n-1) printf("%s ",a[i].color);
  ^
0_0_31810229_977.cpp:23:8: error: stray '#' in program
         if (i!=n-1) printf("%s ",a[i].color);
        ^
0_0_31810229_977.cpp:23:14: error: stray '#' in program
         if (i!=n-1) printf("%s ",a[i].color);
              ^
0_0_31810229_977.cpp:23:20: error: stray '#' in program
         if (i!=n-1) printf("%s ",a[i].color);
                    ^
0_0_31810229_977.cpp:23:26: error: stray '#' in program
         if (i!=n-1) printf("%s ",a[i].color);
                          ^
0_0_31810229_977.cpp:23:32: error: stray '#' in program
         if (i!=n-1) printf("%s ",a[i].color);
                                ^
0_0_31810229_977.cpp:23:38: error: stray '#' in program
         if (i!=n-1) printf("%s ",a[i].color);
                                      ^
0_0_31810229_977.cpp:23:44: error: stray '#' in program
         if (i!=n-1) printf("%s ",a[i].color);
                                            ^
0_0_31810229_977.cpp:24:2: error: stray '#' in program
     else 
  ^
0_0_31810229_977.cpp:24:8: error: stray '#' in program
     else 
        ^
0_0_31810229_977.cpp:24:14: error: stray '#' in program
     else 
              ^
0_0_31810229_977.cpp:24:20: error: stray '#' in program
     else 
                    ^
0_0_31810229_977.cpp:25:2: error: stray '#' in program
         printf("%s\n",a[i].color);
  ^
0_0_31810229_977.cpp:25:8: error: stray '#' in program
         printf("%s\n",a[i].color);
        ^
0_0_31810229_977.cpp:25:14: error: stray '#' in program
         printf("%s\n",a[i].color);
              ^
0_0_31810229_977.cpp:25:20: error: stray '#' in program
         printf("%s\n",a[i].color);
                    ^
0_0_31810229_977.cpp:25:26: error: stray '#' in program
         printf("%s\n",a[i].color);
                          ^
0_0_31810229_977.cpp:25:32: error: stray '#' in program
         printf("%s\n",a[i].color);
                                ^
0_0_31810229_977.cpp:25:38: error: stray '#' in program
         printf("%s\n",a[i].color);
                                      ^
0_0_31810229_977.cpp:25:44: error: stray '#' in program
         printf("%s\n",a[i].color);
                                            ^
0_0_31810229_977.cpp:26:2: error: stray '#' in program
     }    
  ^
0_0_31810229_977.cpp:26:8: error: stray '#' in program
     }    
        ^
0_0_31810229_977.cpp:26:14: error: stray '#' in program
     }    
              ^
0_0_31810229_977.cpp:26:20: error: stray '#' in program
     }    
                    ^
0_0_31810229_977.cpp:26:27: error: stray '#' in program
     }    
                           ^
0_0_31810229_977.cpp:26:33: error: stray '#' in program
     }    
                                 ^
0_0_31810229_977.cpp:26:39: error: stray '#' in program
     }    
                                       ^
0_0_31810229_977.cpp:26:45: error: stray '#' in program
     }    
                                             ^
0_0_31810229_977.cpp: In function 'bool cmp(qiqiu, qiqiu)':
0_0_31810229_977.cpp:9:3: error: lvalue required as unary '&' operand
      return a.sl > b.sl;
   ^
0_0_31810229_977.cpp:9:9: error: lvalue required as unary '&' operand
      return a.sl > b.sl;
         ^
0_0_31810229_977.cpp:9:15: error: lvalue required as unary '&' operand
      return a.sl > b.sl;
               ^
0_0_31810229_977.cpp:9:21: error: lvalue required as unary '&' operand
      return a.sl > b.sl;
                     ^
0_0_31810229_977.cpp:10:3: error: lvalue required as unary '&' operand
     }
   ^
0_0_31810229_977.cpp:10:9: error: lvalue required as unary '&' operand
     }
         ^
0_0_31810229_977.cpp:10:15: error: lvalue required as unary '&' operand
     }
               ^
0_0_31810229_977.cpp:10:21: error: lvalue required as unary '&' operand
     }
                     ^
0_0_31810229_977.cpp: In function 'int main()':
0_0_31810229_977.cpp:16:3: error: lvalue required as unary '&' operand
     scanf("%d",&n);
   ^
0_0_31810229_977.cpp:16:9: error: lvalue required as unary '&' operand
     scanf("%d",&n);
         ^
0_0_31810229_977.cpp:16:15: error: lvalue required as unary '&


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-12-04 18:54:31, Gzip enabled