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_27643506_16130.cpp:5:2: error: stray '#' in program
      int i,a,a1=0,temp,n;
  ^
0_0_27643506_16130.cpp:5:8: error: stray '#' in program
      int i,a,a1=0,temp,n;
        ^
0_0_27643506_16130.cpp:5:14: error: stray '#' in program
      int i,a,a1=0,temp,n;
              ^
0_0_27643506_16130.cpp:5:20: error: stray '#' in program
      int i,a,a1=0,temp,n;
                    ^
0_0_27643506_16130.cpp:6:2: error: stray '#' in program
      int m[100];
  ^
0_0_27643506_16130.cpp:6:8: error: stray '#' in program
      int m[100];
        ^
0_0_27643506_16130.cpp:6:15: error: stray '#' in program
      int m[100];
               ^
0_0_27643506_16130.cpp:7:2: error: stray '#' in program
  while(cin>>n&&n!=0)
  ^
0_0_27643506_16130.cpp:8:2: error: stray '#' in program
  {
  ^
0_0_27643506_16130.cpp:9:2: error: stray '#' in program
   for(i=0;i<n;i++)
  ^
0_0_27643506_16130.cpp:10:2: error: stray '#' in program
   {
  ^
0_0_27643506_16130.cpp:11:2: error: stray '#' in program
       cin>>m[i];
  ^
0_0_27643506_16130.cpp:11:8: error: stray '#' in program
       cin>>m[i];
        ^
0_0_27643506_16130.cpp:11:15: error: stray '#' in program
       cin>>m[i];
               ^
0_0_27643506_16130.cpp:11:21: error: stray '#' in program
       cin>>m[i];
                     ^
0_0_27643506_16130.cpp:12:2: error: stray '#' in program
   }
  ^
0_0_27643506_16130.cpp:13:2: error: stray '#' in program
   a=m[0];
  ^
0_0_27643506_16130.cpp:14:2: error: stray '#' in program
   a1=0;
  ^
0_0_27643506_16130.cpp:15:2: error: stray '#' in program
   for(i=0;i<n;i++)
  ^
0_0_27643506_16130.cpp:16:2: error: stray '#' in program
   {
  ^
0_0_27643506_16130.cpp:17:2: error: stray '#' in program
    if(m[i]<a)
  ^
0_0_27643506_16130.cpp:17:8: error: stray '#' in program
    if(m[i]<a)
        ^
0_0_27643506_16130.cpp:18:2: error: stray '#' in program
    {
  ^
0_0_27643506_16130.cpp:18:8: error: stray '#' in program
    {
        ^
0_0_27643506_16130.cpp:19:2: error: stray '#' in program
        a=m[i];
  ^
0_0_27643506_16130.cpp:19:8: error: stray '#' in program
        a=m[i];
        ^
0_0_27643506_16130.cpp:19:15: error: stray '#' in program
        a=m[i];
               ^
0_0_27643506_16130.cpp:19:21: error: stray '#' in program
        a=m[i];
                     ^
0_0_27643506_16130.cpp:19:27: error: stray '#' in program
        a=m[i];
                           ^
0_0_27643506_16130.cpp:20:2: error: stray '#' in program
        a1=i;
  ^
0_0_27643506_16130.cpp:20:8: error: stray '#' in program
        a1=i;
        ^
0_0_27643506_16130.cpp:20:14: error: stray '#' in program
        a1=i;
              ^
0_0_27643506_16130.cpp:20:20: error: stray '#' in program
        a1=i;
                    ^
0_0_27643506_16130.cpp:20:26: error: stray '#' in program
        a1=i;
                          ^
0_0_27643506_16130.cpp:20:32: error: stray '#' in program
        a1=i;
                                ^
0_0_27643506_16130.cpp:21:2: error: stray '#' in program
    }
  ^
0_0_27643506_16130.cpp:21:8: error: stray '#' in program
    }
        ^
0_0_27643506_16130.cpp:22:2: error: stray '#' in program
   }
  ^
0_0_27643506_16130.cpp:23:2: error: stray '#' in program
   if(a1!=0)
  ^
0_0_27643506_16130.cpp:24:2: error: stray '#' in program
   {
  ^
0_0_27643506_16130.cpp:25:2: error: stray '#' in program
   temp=m[0];
  ^
0_0_27643506_16130.cpp:26:2: error: stray '#' in program
   m[0]=a;
  ^
0_0_27643506_16130.cpp:27:2: error: stray '#' in program
   m[a1]=temp;
  ^
0_0_27643506_16130.cpp:28:2: error: stray '#' in program
   }
  ^
0_0_27643506_16130.cpp:29:2: error: stray '#' in program
   for(i=0;i<n;i++)
  ^
0_0_27643506_16130.cpp:30:2: error: stray '#' in program
   {
  ^
0_0_27643506_16130.cpp:31:2: error: stray '#' in program
    if(i<n-1)
  ^
0_0_27643506_16130.cpp:31:8: error: stray '#' in program
    if(i<n-1)
        ^
0_0_27643506_16130.cpp:32:2: error: stray '#' in program
    cout<<m[i]<<" ";
  ^
0_0_27643506_16130.cpp:32:8: error: stray '#' in program
    cout<<m[i]<<" ";
        ^
0_0_27643506_16130.cpp:33:2: error: stray '#' in program
    else
  ^
0_0_27643506_16130.cpp:33:8: error: stray '#' in program
    else
        ^
0_0_27643506_16130.cpp:34:2: error: stray '#' in program
    cout<<m[i]<<endl;
  ^
0_0_27643506_16130.cpp:34:8: error: stray '#' in program
    cout<<m[i]<<endl;
        ^
0_0_27643506_16130.cpp:35:2: error: stray '#' in program
   }   
  ^
0_0_27643506_16130.cpp:35:10: error: stray '#' in program
   }   
          ^
0_0_27643506_16130.cpp:35:17: error: stray '#' in program
   }   
                 ^
0_0_27643506_16130.cpp:36:2: error: stray '#' in program
  }
  ^
0_0_27643506_16130.cpp:37:2: error: stray '#' in program
  return 0;
  ^
0_0_27643506_16130.cpp: In function 'int main()':
0_0_27643506_16130.cpp:5:3: error: lvalue required as unary '&' operand
      int i,a,a1=0,temp,n;
   ^
0_0_27643506_16130.cpp:5:9: error: lvalue required as unary '&' operand
      int i,a,a1=0,temp,n;
         ^
0_0_27643506_16130.cpp:5:15: error: lvalue required as unary '&' operand
      int i,a,a1=0,temp,n;
               ^
0_0_27643506_16130.cpp:5:21: error: lvalue required as unary '&' operand
      int i,a,a1=0,temp,n;
                     ^
0_0_27643506_16130.cpp:6:3: error: lvalue required as unary '&' operand
      int m[100];
   ^
0_0_27643506_16130.cpp:6:9: error: lvalue required as unary '&' operand
      int m[100];
         ^
0_0_27643506_16130.cpp:6:16: error: lvalue required as unary '&' operand
      int m[100];
                ^
0_0_27643506_16130.cpp:7:3: error: lvalue required as unary '&' operand
  while(cin>>n&&n!=0)
   ^
0_0_27643506_16130.cpp:8:3: error: lvalue required as unary '&' operand
  {
   ^
0_0_27643506_16130.cpp:9:3: error: lvalue required as unary '&' operand
   for(i=0;i<n;i++)
   ^
0_0_27643506_16130.cpp:10:3: error: lvalue required as unary '&' operand
   {
   ^
0_0_27643506_16130.cpp:11:3: error: lvalue required as unary '&' operand
       cin>>m[i];
   ^
0_0_27643506_16130.cpp:11:9: error: lvalue required as unary '&' operand
       cin>>m[i];
         ^
0_0_27643506_16130.cpp:11:16: error: lvalue required as unary '&' operand
       cin>>m[i];
                ^
0_0_27643506_16130.cpp:11:22: error: lvalue required as unary '&' operand
       cin>>m[i];
                      ^
0_0_27643506_16130.cpp:12:3: error: lvalue required as unary '&' operand
   }
   ^
0_0_27643506_16130.cpp:13:3: error: lvalue required as unary '&' operand
   a=m[0];
   ^
0_0_27643506_16130.cpp:14:3: error: lvalue required as unary '&' operand
   a1=0;
   ^
0_0_27643506_16130.cpp:15:3: error: lvalue required as unary '&' operand
   for(i=0;i<n;i++)
   ^
0_0_27643506_16130.cpp:16:3: error: lvalue required as unary '&' operand
   {
   ^
0_0_27643506_16130.cpp:17:3: error: lvalue required as unary '&' operand
    if(m[i]<a)
   ^
0_0_27643506_16130.cpp:17:9: error: lvalue required as unary '&' operand
    if(m[i]<a)
         ^
0_0_27643506_16130.cpp:18:3: error: lvalue required as unary '&' operand
    {
   ^
0_0_27643506_16130.cpp:18:9: error: lvalue required as unary '&' operand
    {
         ^
0_0_27643506_16130.cpp:19:3: error: lvalue required as unary '&' operand
        a=m[i];
   ^
0_0_27643506_16130.cpp:19:9: error: lvalue required as unary '&' operand
        a=m[i];
         ^
0_0_27643506_16130.cpp:19:16: error: lvalue required as unary '&' operand
        a=m[i];
                ^
0_0_27643506_16130.cpp:19:22: error: lvalue required as unary '&' operand
        a=m[i];
                      ^
0_0_27643506_16130.cpp:19:28: error: lvalue required as unary '&' operand
        a=m[i];
                            ^
0_0_27643506_16130.cpp:20:3: error: lvalue required as unary '&' operand
        a1=i;
   ^
0_0_27643506_16130.cpp:20:9: error: lvalue required as unary '&' operand
        a1=i;
         ^
0_0_27643506_16130.cpp:20:15: error: lvalue required as unary '&' operand
      


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 17:30:46, Gzip enabled