Create 1777.c

pull/22/head
Kirigaya Kazuto 2016-06-28 14:45:28 +08:00 committed by GitHub
parent c89555922f
commit eafef4bac8
1 changed files with 18 additions and 0 deletions

18
QUSTOJ/1777.c Normal file
View File

@ -0,0 +1,18 @@
#include <stdio.h>
#include <stdlib.h>
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;
}