Mã chấm: 14055


Main.c:8:20: error: unknown type name ‘LR’
 void NhapLR(int t, LR a[])
                    ^~
Main.c:20:16: error: unknown type name ‘LR’
 int DSD(int t, LR a[],int i)
                ^~
Main.c: In function ‘main’:
Main.c:39:2: error: unknown type name ‘LR’; use ‘struct’ keyword to refer to the type
  LR a[20];
  ^~
  struct 
Main.c:46:2: warning: implicit declaration of function ‘NhapLR’ [-Wimplicit-function-declaration]
  NhapLR(t,a);
  ^~~~~~
Main.c:49:11: warning: implicit declaration of function ‘DSD’ [-Wimplicit-function-declaration]
   int c = DSD(t,a,i);
           ^~~
Main.c:42:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", &t); 
   ^~~~~~~~~~~~~~~