foo.c: In function ‘main’:
foo.c:51:22: warning: missing terminating " character
   51 |         while (scanf("%d %d , &y, &m) == 2)
      |                      ^
foo.c:51:22: error: missing terminating " character
   51 |         while (scanf("%d %d , &y, &m) == 2)
      |                      ^~~~~~~~~~~~~~~~~~~~~~
foo.c:53:9: error: expected expression before ‘{’ token
   53 |         {
      |         ^
foo.c:61:43: error: expected ‘)’ before ‘}’ token
   61 |                                  return 0;
      |                                           ^
      |                                           )
   62 | }
      | ~                                          
foo.c:51:15: note: to match this ‘(’
   51 |         while (scanf("%d %d , &y, &m) == 2)
      |               ^
foo.c:62:1: error: expected expression before ‘}’ token
   62 | }
      | ^
foo.c:48:13: warning: unused variable ‘m’ [-Wunused-variable]
   48 |         int m = 0; //月
      |             ^
foo.c:47:13: warning: unused variable ‘y’ [-Wunused-variable]
   47 |         int y = 0; //年
      |             ^