#include <stdio.h>

int main() {
    int max=0;
    int nums[9][9];
    int idx_i,idx_j;
    for (int i=0; i<9; i++) {
        for (int j=0; j<9; j++) {
            scanf("%d",&nums[i][j]);
        }
    }

    for (int i=0; i<9; i++) {
        for (int j=0; j<9; j++) {
            if (max<=nums[i][j]) {
                max=nums[i][j];
                idx_i=i;
                idx_j=j;
            }
        }
    }
    printf("%d\n%d %d",max,idx_i+1,idx_j+1);
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: