Main.cc:5:30: error: declaration of ‘a’ as multidimensional array must have bounds for all dimensions except the first
void nhaphaisonguyen(int a[][],int d,int c)
^
Main.cc:5:31: error: expected ‘)’ before ‘,’ token
void nhaphaisonguyen(int a[][],int d,int c)
^
Main.cc:5:32: error: expected unqualified-id before ‘int’
void nhaphaisonguyen(int a[][],int d,int c)
^~~
Main.cc:17:31: error: declaration of ‘a’ as multidimensional array must have bounds for all dimensions except the first
void thoigianngannhat(int a[][],int d,int c)
^
Main.cc:17:32: error: expected ‘)’ before ‘,’ token
void thoigianngannhat(int a[][],int d,int c)
^
Main.cc:17:33: error: expected unqualified-id before ‘int’
void thoigianngannhat(int a[][],int d,int c)
^~~
Main.cc: In function ‘int main()’:
Main.cc:34:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~