work/source: In function ‘int main()’:
work/source:181:52: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘int (*)[1000][1000]’ [-Wformat]
work/source:183:33: error: invalid conversion from ‘int (*)[1000]’ to ‘int’ [-fpermissive]
work/source:183:33: error: too few arguments to function ‘void update(int, int, int, int)’
work/source:119:6: note: declared here
work/source:153:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
work/source:157:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
work/source:163:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
work/source:169:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
work/source:173:54: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
work/source:181:53: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
