/in/foo.c: In function 'getfail':
/in/foo.c:14:21: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations]
   if (score[student][i] < 60) {
       ~~~~~~~~~~~~~~^~~
/in/foo.c:13:2: note: within this loop
  for (int i = 1; i <= 4; i ++ ) {
  ^~~
/in/foo.c: In function 'rate':
/in/foo.c:24:15: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations]
   if (score[i][course] >= 60) {
       ~~~~~~~~^~~~~~~~
/in/foo.c:23:2: note: within this loop
  for (int i = 1; i <= 5; i ++ ) {
  ^~~
/in/foo.c: In function 'putscore':
/in/foo.c:34:4: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations]
    printf("%d ", score[i][j]);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:33:3: note: within this loop
   for (int j = 1; j <= 4; j ++ ) {
   ^~~