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_19505456_15510.cpp:10:29: error: wrong type argument to unary minus
 int c1[_max], c2[_max], c3[-max];
                             ^
0_0_19505456_15510.cpp: In function 'int main()':
0_0_19505456_15510.cpp:23:19: error: 'c3' was not declared in this scope
    cin >> v[i] >> c3[i];
                   ^
0_0_19505456_15510.cpp:36:24: error: 'c3' was not declared in this scope
    for(int j = 0; j <= c3[i] && j*v[i] <= sum; j++)
                        ^


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-10-06 05:16:24, Gzip enabled