diff --git a/VIJOS/1498_2868647513.cpp b/VIJOS/1498_2868647513.cpp new file mode 100644 index 0000000..5741618 --- /dev/null +++ b/VIJOS/1498_2868647513.cpp @@ -0,0 +1,58 @@ +#include +#include +#include +using namespace std; +struct zong{ + int sum,num; +}y[2001]; +struct heng{ + int sum,num; +}x[2001]; +int dog(const zong&a,const zong&b) +{ + return a.sum>b.sum; +} +int cat(const heng&a,const heng&b) +{ + return a.sum>b.sum; +} +int tiger(const zong&a,const zong&b) +{ + return a.num