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_28545248_11795.cpp:8:2: error: stray '#' in program
      return a<b;
  ^
0_0_28545248_11795.cpp:8:9: error: stray '#' in program
      return a<b;
         ^
0_0_28545248_11795.cpp:8:16: error: stray '#' in program
      return a<b;
                ^
0_0_28545248_11795.cpp:9:2: error: stray '#' in program
      }
  ^
0_0_28545248_11795.cpp:9:9: error: stray '#' in program
      }
         ^
0_0_28545248_11795.cpp:9:16: error: stray '#' in program
      }
                ^
0_0_28545248_11795.cpp:12:2: error: stray '#' in program
     int i,n,k,c[1100];
  ^
0_0_28545248_11795.cpp:12:9: error: stray '#' in program
     int i,n,k,c[1100];
         ^
0_0_28545248_11795.cpp:13:2: error: stray '#' in program
     while(scanf("%d",&k)!=EOF){
  ^
0_0_28545248_11795.cpp:13:9: error: stray '#' in program
     while(scanf("%d",&k)!=EOF){
         ^
0_0_28545248_11795.cpp:14:2: error: stray '#' in program
      while(k--){
  ^
0_0_28545248_11795.cpp:14:9: error: stray '#' in program
      while(k--){
         ^
0_0_28545248_11795.cpp:14:16: error: stray '#' in program
      while(k--){
                ^
0_0_28545248_11795.cpp:15:2: error: stray '#' in program
       scanf("%d",&n);
  ^
0_0_28545248_11795.cpp:15:9: error: stray '#' in program
       scanf("%d",&n);
         ^
0_0_28545248_11795.cpp:15:16: error: stray '#' in program
       scanf("%d",&n);
                ^
0_0_28545248_11795.cpp:16:2: error: stray '#' in program
       for(i=0;i<n;++i)
  ^
0_0_28545248_11795.cpp:16:9: error: stray '#' in program
       for(i=0;i<n;++i)
         ^
0_0_28545248_11795.cpp:16:16: error: stray '#' in program
       for(i=0;i<n;++i)
                ^
0_0_28545248_11795.cpp:17:2: error: stray '#' in program
        scanf("%d",&c[i]);
  ^
0_0_28545248_11795.cpp:17:9: error: stray '#' in program
        scanf("%d",&c[i]);
         ^
0_0_28545248_11795.cpp:17:16: error: stray '#' in program
        scanf("%d",&c[i]);
                ^
0_0_28545248_11795.cpp:17:23: error: stray '#' in program
        scanf("%d",&c[i]);
                       ^
0_0_28545248_11795.cpp:18:2: error: stray '#' in program
        sort(c,c+n,cmp);
  ^
0_0_28545248_11795.cpp:18:9: error: stray '#' in program
        sort(c,c+n,cmp);
         ^
0_0_28545248_11795.cpp:18:16: error: stray '#' in program
        sort(c,c+n,cmp);
                ^
0_0_28545248_11795.cpp:18:23: error: stray '#' in program
        sort(c,c+n,cmp);
                       ^
0_0_28545248_11795.cpp:19:2: error: stray '#' in program
        printf("%d",c[0]);
  ^
0_0_28545248_11795.cpp:19:9: error: stray '#' in program
        printf("%d",c[0]);
         ^
0_0_28545248_11795.cpp:19:16: error: stray '#' in program
        printf("%d",c[0]);
                ^
0_0_28545248_11795.cpp:19:23: error: stray '#' in program
        printf("%d",c[0]);
                       ^
0_0_28545248_11795.cpp:20:2: error: stray '#' in program
        for(i=1;i<n;++i)
  ^
0_0_28545248_11795.cpp:20:9: error: stray '#' in program
        for(i=1;i<n;++i)
         ^
0_0_28545248_11795.cpp:20:16: error: stray '#' in program
        for(i=1;i<n;++i)
                ^
0_0_28545248_11795.cpp:20:23: error: stray '#' in program
        for(i=1;i<n;++i)
                       ^
0_0_28545248_11795.cpp:21:2: error: stray '#' in program
         printf(" %d",c[i]);
  ^
0_0_28545248_11795.cpp:21:9: error: stray '#' in program
         printf(" %d",c[i]);
         ^
0_0_28545248_11795.cpp:21:16: error: stray '#' in program
         printf(" %d",c[i]);
                ^
0_0_28545248_11795.cpp:21:23: error: stray '#' in program
         printf(" %d",c[i]);
                       ^
0_0_28545248_11795.cpp:22:2: error: stray '#' in program
         printf("\n");}}
  ^
0_0_28545248_11795.cpp:22:9: error: stray '#' in program
         printf("\n");}}
         ^
0_0_28545248_11795.cpp:22:16: error: stray '#' in program
         printf("\n");}}
                ^
0_0_28545248_11795.cpp:22:23: error: stray '#' in program
         printf("\n");}}
                       ^
0_0_28545248_11795.cpp:23:2: error: stray '#' in program
     return 0;
  ^
0_0_28545248_11795.cpp:23:9: error: stray '#' in program
     return 0;
         ^
0_0_28545248_11795.cpp: In function 'bool cmp(int, int)':
0_0_28545248_11795.cpp:8:3: error: lvalue required as unary '&' operand
      return a<b;
   ^
0_0_28545248_11795.cpp:8:10: error: lvalue required as unary '&' operand
      return a<b;
          ^
0_0_28545248_11795.cpp:8:17: error: lvalue required as unary '&' operand
      return a<b;
                 ^
0_0_28545248_11795.cpp:9:3: error: lvalue required as unary '&' operand
      }
   ^
0_0_28545248_11795.cpp:9:10: error: lvalue required as unary '&' operand
      }
          ^
0_0_28545248_11795.cpp:9:17: error: lvalue required as unary '&' operand
      }
                 ^
0_0_28545248_11795.cpp: In function 'int main()':
0_0_28545248_11795.cpp:12:3: error: lvalue required as unary '&' operand
     int i,n,k,c[1100];
   ^
0_0_28545248_11795.cpp:12:10: error: lvalue required as unary '&' operand
     int i,n,k,c[1100];
          ^
0_0_28545248_11795.cpp:13:3: error: lvalue required as unary '&' operand
     while(scanf("%d",&k)!=EOF){
   ^
0_0_28545248_11795.cpp:13:10: error: lvalue required as unary '&' operand
     while(scanf("%d",&k)!=EOF){
          ^
0_0_28545248_11795.cpp:14:3: error: lvalue required as unary '&' operand
      while(k--){
   ^
0_0_28545248_11795.cpp:14:10: error: lvalue required as unary '&' operand
      while(k--){
          ^
0_0_28545248_11795.cpp:14:17: error: lvalue required as unary '&' operand
      while(k--){
                 ^
0_0_28545248_11795.cpp:15:3: error: lvalue required as unary '&' operand
       scanf("%d",&n);
   ^
0_0_28545248_11795.cpp:15:10: error: lvalue required as unary '&' operand
       scanf("%d",&n);
          ^
0_0_28545248_11795.cpp:15:17: error: lvalue required as unary '&' operand
       scanf("%d",&n);
                 ^
0_0_28545248_11795.cpp:16:3: error: lvalue required as unary '&' operand
       for(i=0;i<n;++i)
   ^
0_0_28545248_11795.cpp:16:10: error: lvalue required as unary '&' operand
       for(i=0;i<n;++i)
          ^
0_0_28545248_11795.cpp:16:17: error: lvalue required as unary '&' operand
       for(i=0;i<n;++i)
                 ^
0_0_28545248_11795.cpp:17:3: error: lvalue required as unary '&' operand
        scanf("%d",&c[i]);
   ^
0_0_28545248_11795.cpp:17:10: error: lvalue required as unary '&' operand
        scanf("%d",&c[i]);
          ^
0_0_28545248_11795.cpp:17:17: error: lvalue required as unary '&' operand
        scanf("%d",&c[i]);
                 ^
0_0_28545248_11795.cpp:17:24: error: lvalue required as unary '&' operand
        scanf("%d",&c[i]);
                        ^
0_0_28545248_11795.cpp:18:3: error: lvalue required as unary '&' operand
        sort(c,c+n,cmp);
   ^
0_0_28545248_11795.cpp:18:10: error: lvalue required as unary '&' operand
        sort(c,c+n,cmp);
          ^
0_0_28545248_11795.cpp:18:17: error: lvalue required as unary '&' operand
        sort(c,c+n,cmp);
                 ^
0_0_28545248_11795.cpp:18:24: error: lvalue required as unary '&' operand
        sort(c,c+n,cmp);
                        ^
0_0_28545248_11795.cpp:19:3: error: lvalue required as unary '&' operand
        printf("%d",c[0]);
   ^
0_0_28545248_11795.cpp:19:10: error: lvalue required as unary '&' operand
        printf("%d",c[0]);
          ^
0_0_28545248_11795.cpp:19:17: error: lvalue required as unary '&' operand
        printf("%d",c[0]);
                 ^
0_0_28545248_11795.cpp:19:24: error: lvalue required as unary '&' operand
        printf("%d",c[0]);
                        ^
0_0_28545248_11795.cpp:20:3: error: lvalue required as unary '&' operand
        for(i=1;i<n;++i)
   ^
0_0_28545248_11795.cpp:20:10: error: lvalue required as unary '&' operand
        for(i=1;i<n;++i)
          ^
0_0_28545248_11795.cpp:20:17: error: lvalue required as unary '&' operand
        for(i=1;i<n;++i)
                 ^
0_0_2854524


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-07-04 17:30:44, Gzip enabled