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_27233550_13769.cpp: In function 'int main()':
0_0_27233550_13769.cpp:6:9: error: assigning to an array from an initializer list
   shu[0]={1,2,6,10};
         ^
0_0_27233550_13769.cpp:7:9: error: assigning to an array from an initializer list
   shu[1]={0,4,9};
         ^
0_0_27233550_13769.cpp:8:9: error: assigning to an array from an initializer list
   shu[2]={3,8,7,40,50,60};
         ^
0_0_27233550_13769.cpp:9:9: error: assigning to an array from an initializer list
   shu[3]={11,12,20,30,80,90};
         ^
0_0_27233550_13769.cpp:10:9: error: assigning to an array from an initializer list
   shu[4]={15,16,70};
         ^
0_0_27233550_13769.cpp:11:9: error: assigning to an array from an initializer list
   shu[5]={13,14,18,19,41,42,46,51,52,56,61,62,66};
         ^
0_0_27233550_13769.cpp:12:9: error: assigning to an array from an initializer list
   shu[6]={17,21,22,26,31,32,36,40,44,49,50,54,59,60,64,69,81,82,86,91,92,96};
         ^
0_0_27233550_13769.cpp:13:9: error: assigning to an array from an initializer list
   shu[7]={20,24,29,30,34,39,43,47,48,53,57,58,63,67,68,71,72,76,80,86,89,90,94,99};
         ^
0_0_27233550_13769.cpp:21:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if((N==3)&&(M>4)){
          ^
0_0_27233550_13769.cpp:21:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if((N==3)&&(M>4)){
                 ^
0_0_27233550_13769.cpp:25:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if((N==4)&&(M>3)){
          ^
0_0_27233550_13769.cpp:25:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if((N==4)&&(M>3)){
                 ^
0_0_27233550_13769.cpp:29:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if((N==5)&&(M>6)){
          ^
0_0_27233550_13769.cpp:29:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if((N==5)&&(M>6)){
                 ^
0_0_27233550_13769.cpp:33:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if((N==6)&&(M>7)){
          ^
0_0_27233550_13769.cpp:33:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if((N==6)&&(M>7)){
                 ^
0_0_27233550_13769.cpp:37:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if((N==7)&&(M>3)){
          ^
0_0_27233550_13769.cpp:37:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if((N==7)&&(M>3)){
                 ^
0_0_27233550_13769.cpp:41:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if((N==8)&&(M>13)){
          ^
0_0_27233550_13769.cpp:41:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if((N==8)&&(M>13)){
                 ^
0_0_27233550_13769.cpp:45:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if((N==9)&&(M>22)){
          ^
0_0_27233550_13769.cpp:45:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if((N==9)&&(M>22)){
                 ^
0_0_27233550_13769.cpp:49:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if((N==10)&&(M>24)){
          ^
0_0_27233550_13769.cpp:49:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if((N==10)&&(M>24)){
                  ^
0_0_27233550_13769.cpp:53:20: error: invalid types 'int [8][24][int*]' for array subscript
   result[i]=shu[N-3][M-1];  
                    ^


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-26 11:52:05, Gzip enabled