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_32595134_31125.cpp:7:2: error: stray '#' in program
     int n,m,i;
  ^
0_0_32595134_31125.cpp:7:9: error: stray '#' in program
     int n,m,i;
         ^
0_0_32595134_31125.cpp:8:2: error: stray '#' in program
     while(cin>>n>>m&&(n||m))
  ^
0_0_32595134_31125.cpp:8:9: error: stray '#' in program
     while(cin>>n>>m&&(n||m))
         ^
0_0_32595134_31125.cpp:9:2: error: stray '#' in program
     {
  ^
0_0_32595134_31125.cpp:9:9: error: stray '#' in program
     {
         ^
0_0_32595134_31125.cpp:10:2: error: stray '#' in program
         int a[101];
  ^
0_0_32595134_31125.cpp:10:9: error: stray '#' in program
         int a[101];
         ^
0_0_32595134_31125.cpp:10:16: error: stray '#' in program
         int a[101];
                ^
0_0_32595134_31125.cpp:10:23: error: stray '#' in program
         int a[101];
                       ^
0_0_32595134_31125.cpp:11:2: error: stray '#' in program
         memset(a,0,sizeof(n));
  ^
0_0_32595134_31125.cpp:11:9: error: stray '#' in program
         memset(a,0,sizeof(n));
         ^
0_0_32595134_31125.cpp:11:16: error: stray '#' in program
         memset(a,0,sizeof(n));
                ^
0_0_32595134_31125.cpp:11:23: error: stray '#' in program
         memset(a,0,sizeof(n));
                       ^
0_0_32595134_31125.cpp:12:2: error: stray '#' in program
         for(i=0; i<n; i++)
  ^
0_0_32595134_31125.cpp:12:9: error: stray '#' in program
         for(i=0; i<n; i++)
         ^
0_0_32595134_31125.cpp:12:16: error: stray '#' in program
         for(i=0; i<n; i++)
                ^
0_0_32595134_31125.cpp:12:23: error: stray '#' in program
         for(i=0; i<n; i++)
                       ^
0_0_32595134_31125.cpp:13:2: error: stray '#' in program
         {
  ^
0_0_32595134_31125.cpp:13:9: error: stray '#' in program
         {
         ^
0_0_32595134_31125.cpp:13:16: error: stray '#' in program
         {
                ^
0_0_32595134_31125.cpp:13:23: error: stray '#' in program
         {
                       ^
0_0_32595134_31125.cpp:14:2: error: stray '#' in program
             cin>>a[i];
  ^
0_0_32595134_31125.cpp:14:9: error: stray '#' in program
             cin>>a[i];
         ^
0_0_32595134_31125.cpp:14:16: error: stray '#' in program
             cin>>a[i];
                ^
0_0_32595134_31125.cpp:14:23: error: stray '#' in program
             cin>>a[i];
                       ^
0_0_32595134_31125.cpp:14:30: error: stray '#' in program
             cin>>a[i];
                              ^
0_0_32595134_31125.cpp:14:37: error: stray '#' in program
             cin>>a[i];
                                     ^
0_0_32595134_31125.cpp:15:2: error: stray '#' in program
         }
  ^
0_0_32595134_31125.cpp:15:9: error: stray '#' in program
         }
         ^
0_0_32595134_31125.cpp:15:16: error: stray '#' in program
         }
                ^
0_0_32595134_31125.cpp:15:23: error: stray '#' in program
         }
                       ^
0_0_32595134_31125.cpp:16:2: error: stray '#' in program
         a[n]=m;
  ^
0_0_32595134_31125.cpp:16:9: error: stray '#' in program
         a[n]=m;
         ^
0_0_32595134_31125.cpp:16:16: error: stray '#' in program
         a[n]=m;
                ^
0_0_32595134_31125.cpp:16:23: error: stray '#' in program
         a[n]=m;
                       ^
0_0_32595134_31125.cpp:17:2: error: stray '#' in program
         sort(a,a+n+1);
  ^
0_0_32595134_31125.cpp:17:9: error: stray '#' in program
         sort(a,a+n+1);
         ^
0_0_32595134_31125.cpp:17:16: error: stray '#' in program
         sort(a,a+n+1);
                ^
0_0_32595134_31125.cpp:17:23: error: stray '#' in program
         sort(a,a+n+1);
                       ^
0_0_32595134_31125.cpp:18:2: error: stray '#' in program
         cout<<a[0];
  ^
0_0_32595134_31125.cpp:18:9: error: stray '#' in program
         cout<<a[0];
         ^
0_0_32595134_31125.cpp:18:16: error: stray '#' in program
         cout<<a[0];
                ^
0_0_32595134_31125.cpp:18:23: error: stray '#' in program
         cout<<a[0];
                       ^
0_0_32595134_31125.cpp:19:2: error: stray '#' in program
         for(i=1; i<=n; i++)
  ^
0_0_32595134_31125.cpp:19:9: error: stray '#' in program
         for(i=1; i<=n; i++)
         ^
0_0_32595134_31125.cpp:19:16: error: stray '#' in program
         for(i=1; i<=n; i++)
                ^
0_0_32595134_31125.cpp:19:23: error: stray '#' in program
         for(i=1; i<=n; i++)
                       ^
0_0_32595134_31125.cpp:20:2: error: stray '#' in program
         {
  ^
0_0_32595134_31125.cpp:20:9: error: stray '#' in program
         {
         ^
0_0_32595134_31125.cpp:20:16: error: stray '#' in program
         {
                ^
0_0_32595134_31125.cpp:20:23: error: stray '#' in program
         {
                       ^
0_0_32595134_31125.cpp:21:2: error: stray '#' in program
             cout<<" "<<a[i];
  ^
0_0_32595134_31125.cpp:21:9: error: stray '#' in program
             cout<<" "<<a[i];
         ^
0_0_32595134_31125.cpp:21:16: error: stray '#' in program
             cout<<" "<<a[i];
                ^
0_0_32595134_31125.cpp:21:23: error: stray '#' in program
             cout<<" "<<a[i];
                       ^
0_0_32595134_31125.cpp:21:30: error: stray '#' in program
             cout<<" "<<a[i];
                              ^
0_0_32595134_31125.cpp:21:37: error: stray '#' in program
             cout<<" "<<a[i];
                                     ^
0_0_32595134_31125.cpp:22:2: error: stray '#' in program
         }
  ^
0_0_32595134_31125.cpp:22:9: error: stray '#' in program
         }
         ^
0_0_32595134_31125.cpp:22:16: error: stray '#' in program
         }
                ^
0_0_32595134_31125.cpp:22:23: error: stray '#' in program
         }
                       ^
0_0_32595134_31125.cpp:23:2: error: stray '#' in program
         cout<<endl;
  ^
0_0_32595134_31125.cpp:23:9: error: stray '#' in program
         cout<<endl;
         ^
0_0_32595134_31125.cpp:23:16: error: stray '#' in program
         cout<<endl;
                ^
0_0_32595134_31125.cpp:23:23: error: stray '#' in program
         cout<<endl;
                       ^
0_0_32595134_31125.cpp:24:2: error: stray '#' in program
     }
  ^
0_0_32595134_31125.cpp:24:9: error: stray '#' in program
     }
         ^
0_0_32595134_31125.cpp:25:2: error: stray '#' in program
     return 0;
  ^
0_0_32595134_31125.cpp:25:9: error: stray '#' in program
     return 0;
         ^
0_0_32595134_31125.cpp: In function 'int main()':
0_0_32595134_31125.cpp:7:3: error: lvalue required as unary '&' operand
     int n,m,i;
   ^
0_0_32595134_31125.cpp:7:10: error: lvalue required as unary '&' operand
     int n,m,i;
          ^
0_0_32595134_31125.cpp:8:3: error: lvalue required as unary '&' operand
     while(cin>>n>>m&&(n||m))
   ^
0_0_32595134_31125.cpp:8:10: error: lvalue required as unary '&' operand
     while(cin>>n>>m&&(n||m))
          ^
0_0_32595134_31125.cpp:9:3: error: lvalue required as unary '&' operand
     {
   ^
0_0_32595134_31125.cpp:9:10: error: lvalue required as unary '&' operand
     {
          ^
0_0_32595134_31125.cpp:10:3: error: lvalue required as unary '&' operand
         int a[101];
   ^
0_0_32595134_31125.cpp:10:10: error: lvalue required as unary '&' operand
         int a[101];
          ^
0_0_32595134_31125.cpp:10:17: error: lvalue required as unary '&' operand
         int a[101];
                 ^
0_0_32595134_31125.cpp:10:24: error: lvalue required as unary '&' operand
         int a[101];
                        ^
0_0_32595134_31125.cpp:11:3: error: lvalue required as unary '&' operand
         memset(a,0,sizeof(n));
   ^
0_0_32595134_31125.cpp:11:10: 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-12-03 17:02:10, Gzip enabled