mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
19 lines
309 B
C
19 lines
309 B
C
|
#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;
|
||
|
}
|