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_13400869_6923.cpp: In function 'int main()':
0_0_13400869_6923.cpp:40:39: error: invalid types 'double [35][double]' for array subscript
                 if(dp[j]<dp[j-money[i]]+money[i])
                                       ^
0_0_13400869_6923.cpp:41:40: error: invalid types 'double [35][double]' for array subscript
                     dp[j]=dp[j-money[i]]+money[i];
                                        ^
0_0_13400869_6923.cpp:43:19: error: expected primary-expression before ')' token
         for(i=0;i<)
                   ^
0_0_13400869_6923.cpp:43:19: error: expected ';' before ')' token
0_0_13400869_6923.cpp:44:5: error: expected primary-expression before '}' token
     }
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-15 22:09:42, Gzip enabled