From eafef4bac8d2f3f7b966e063d474adec925c0a90 Mon Sep 17 00:00:00 2001 From: Kirito <1362050620@qq.com> Date: Tue, 28 Jun 2016 14:45:28 +0800 Subject: [PATCH] Create 1777.c --- QUSTOJ/1777.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 QUSTOJ/1777.c diff --git a/QUSTOJ/1777.c b/QUSTOJ/1777.c new file mode 100644 index 0000000..0603fa8 --- /dev/null +++ b/QUSTOJ/1777.c @@ -0,0 +1,18 @@ +#include +#include + +int main() +{ + int mi,mj; + int mv=0; + for(int i=1;i<=3;i++) + { + for(int j=1;j<=4;j++) + { + int tmp; + scanf("%d",&tmp); + if(tmp>mv) mi=i,mj=j,mv=tmp; + } + } + return printf("%d\n%d %d\n",mv,mi,mj),0; +}