#include <stdio.h>
#define student 3
#define exam 4
int muximum(const int grades[][exam]);
int main(void) {
int studentsgrades[student][exam]={{77,68,86,73},{96,87,89,78},{70,90,86,81}};
printf("max %d " ,muximum
(studentsgrades
)) ;
return 0;}
int muximum(const int grades[][exam]){
int high=0;
for(int i=0;i<student;i++)
{for(int j=0;j<exam;j++){
if(grades[i][j]>high)
high=grades[i][j];}};
// your code goes here
return high;}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNkZWZpbmUgc3R1ZGVudCAzCiNkZWZpbmUgZXhhbSA0CmludCBtdXhpbXVtKGNvbnN0IGludCBncmFkZXNbXVtleGFtXSk7CgppbnQgbWFpbih2b2lkKSB7CmludAlzdHVkZW50c2dyYWRlc1tzdHVkZW50XVtleGFtXT17ezc3LDY4LDg2LDczfSx7OTYsODcsODksNzh9LHs3MCw5MCw4Niw4MX19OwoJcHJpbnRmKCJtYXggJWQgIiAsbXV4aW11bShzdHVkZW50c2dyYWRlcykpIDsKCQoJcmV0dXJuIDA7fQoJCglpbnQgbXV4aW11bShjb25zdCBpbnQgZ3JhZGVzW11bZXhhbV0pewoJaW50IGhpZ2g9MDsKCQoJZm9yKGludCBpPTA7aTxzdHVkZW50O2krKykKCXtmb3IoaW50IGo9MDtqPGV4YW07aisrKXsKCWlmKGdyYWRlc1tpXVtqXT5oaWdoKQoJaGlnaD1ncmFkZXNbaV1bal07fX07CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglyZXR1cm4gaGlnaDt9CgkK