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_13601351_3078.cpp: In function 'int main()':
0_0_13601351_3078.cpp:23:9: error: invalid types 'double [10000][2][double]' for array subscript
     po[i][0] = w;
         ^
0_0_13601351_3078.cpp:24:11: error: invalid types 'double [10000][2][double]' for array subscript
     po[i++][1] = 2 * meiren / (w - d) * (j + 1);
           ^
0_0_13601351_3078.cpp:29:8: error: invalid types 'double [10000][2][double]' for array subscript
    po[i][0] = w - youchang;
        ^
0_0_13601351_3078.cpp:30:10: error: invalid types 'double [10000][2][double]' for array subscript
    po[i++][1] = h;
          ^
0_0_13601351_3078.cpp:35:8: error: invalid types 'double [10000][2][double]' for array subscript
    po[i][0] = w - youchang;
        ^
0_0_13601351_3078.cpp:36:10: error: invalid types 'double [10000][2][double]' for array subscript
    po[i++][1] = h;
          ^
0_0_13601351_3078.cpp:38:31: error: invalid types 'double [10000][2][double]' for array subscript
   double shengchang = po[i - 1][0];
                               ^
0_0_13601351_3078.cpp:42:8: error: invalid types 'double [10000][2][double]' for array subscript
    po[i][0] = shengchang - (j + 1) * danweichang;
        ^
0_0_13601351_3078.cpp:43:10: error: invalid types 'double [10000][2][double]' for array subscript
    po[i++][1] = h;
          ^
0_0_13601351_3078.cpp:45:35: error: invalid types 'double [10000][2][double]' for array subscript
   double zuoshengyu = h * po[i - 1][0] / 2;
                                   ^
0_0_13601351_3078.cpp:48:7: error: invalid types 'double [10000][2][double]' for array subscript
   po[i][0] = 0;
       ^
0_0_13601351_3078.cpp:49:9: error: invalid types 'double [10000][2][double]' for array subscript
   po[i++][1] = h - zuoshangchang;
         ^
0_0_13601351_3078.cpp:50:36: error: invalid types 'double [10000][2][double]' for array subscript
   double zuohaisheng = d * po[i - 1][1] / 2;
                                    ^
0_0_13601351_3078.cpp:53:32: error: invalid types 'double [10000][2][double]' for array subscript
   double zuochachang = po[i - 1][1];
                                ^
0_0_13601351_3078.cpp:55:8: error: invalid types 'double [10000][2][double]' for array subscript
    po[i][0] = 0;
        ^
0_0_13601351_3078.cpp:56:10: error: invalid types 'double [10000][2][double]' for array subscript
    po[i++][1] = zuochachang - zuodanweichang * (j + 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-12-02 14:08:26, Gzip enabled