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_14854556_31121.cpp:64:21: error: stray '\243' in program
                     dp[j]=min(dp[j],dp[j-de[i].t]+de[i].u);
                     ^
0_0_14854556_31121.cpp:64:21: error: stray '\277' in program
0_0_14854556_31121.cpp:99:21: error: stray '\243' in program
                     pd[j]=max(pd[j],pd[j-ca[i].y]+ca[i].x);
                     ^
0_0_14854556_31121.cpp:99:21: error: stray '\277' in program
0_0_14854556_31121.cpp:102:25: error: stray '\243' in program
                         minc=min(minc,j) ;
                         ^
0_0_14854556_31121.cpp:102:25: error: stray '\277' in program
0_0_14854556_31121.cpp: In function 'int main()':
0_0_14854556_31121.cpp:8:18: error: 'a' was not declared in this scope
 #define min(x,y) a<b?a:b
                  ^
0_0_14854556_31121.cpp:64:27: note: in expansion of macro 'min'
                     dp[j]=min(dp[j],dp[j-de[i].t]+de[i].u);
                           ^
0_0_14854556_31121.cpp:8:20: error: 'b' was not declared in this scope
 #define min(x,y) a<b?a:b
                    ^
0_0_14854556_31121.cpp:64:27: note: in expansion of macro 'min'
                     dp[j]=min(dp[j],dp[j-de[i].t]+de[i].u);
                           ^
0_0_14854556_31121.cpp:9:18: error: 'a' was not declared in this scope
 #define max(x,y) a>b?a:b
                  ^
0_0_14854556_31121.cpp:99:27: note: in expansion of macro 'max'
                     pd[j]=max(pd[j],pd[j-ca[i].y]+ca[i].x);
                           ^
0_0_14854556_31121.cpp:9:20: error: 'b' was not declared in this scope
 #define max(x,y) a>b?a:b
                    ^
0_0_14854556_31121.cpp:99:27: note: in expansion of macro 'max'
                     pd[j]=max(pd[j],pd[j-ca[i].y]+ca[i].x);
                           ^


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-06-27 00:08:12, Gzip enabled