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_19901276_7244.cpp: In function 'int main()':
0_0_19901276_7244.cpp:10:20: error: invalid types 'double [1000][double]' for array subscript
    scanf("%lf",&i[b]);
                    ^
0_0_19901276_7244.cpp:14:9: error: invalid types 'double [1000][double]' for array subscript
    e=i[c]*i[c+1];
         ^
0_0_19901276_7244.cpp:14:16: error: invalid types 'double [1000][double]' for array subscript
    e=i[c]*i[c+1];
                ^
0_0_19901276_7244.cpp:15:15: error: invalid types 'double [1000][double]' for array subscript
    while(i[c+1]%i[c]!=0)
               ^
0_0_19901276_7244.cpp:15:20: error: invalid types 'double [1000][double]' for array subscript
    while(i[c+1]%i[c]!=0)
                    ^
0_0_19901276_7244.cpp:17:11: error: invalid types 'double [1000][double]' for array subscript
    f=i[c+1];
           ^
0_0_19901276_7244.cpp:18:9: error: invalid types 'double [1000][double]' for array subscript
    i[c+1]=i[c];
         ^
0_0_19901276_7244.cpp:18:14: error: invalid types 'double [1000][double]' for array subscript
    i[c+1]=i[c];
              ^
0_0_19901276_7244.cpp:19:7: error: invalid types 'double [1000][double]' for array subscript
    i[c]=f%i[c];
       ^
0_0_19901276_7244.cpp:19:14: error: invalid types 'double [1000][double]' for array subscript
    i[c]=f%i[c];
              ^
0_0_19901276_7244.cpp:22:9: error: invalid types 'double [1000][double]' for array subscript
    d=i[c];
         ^
0_0_19901276_7244.cpp:23:9: error: invalid types 'double [1000][double]' for array subscript
    i[c+1]=e/d;
         ^
0_0_19901276_7244.cpp:25:21: error: invalid types 'double [1000][double]' for array subscript
   printf("%lf\n",i[c]);
                     ^


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-17 08:24:11, Gzip enabled