mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
Create 1777.c
This commit is contained in:
parent
c89555922f
commit
eafef4bac8
18
QUSTOJ/1777.c
Normal file
18
QUSTOJ/1777.c
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user