From 0e83e57016a2c21bd4de9dc0b362943d5f79321c Mon Sep 17 00:00:00 2001 From: Kirito <1362050620@qq.com> Date: Sun, 22 May 2016 15:40:28 +0800 Subject: [PATCH] Create 1498_2868647513.cpp From https://vijos.org/p/1498/solution --- VIJOS/1498_2868647513.cpp | 58 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 VIJOS/1498_2868647513.cpp 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