0_0_22708989_8566.cpp: In function 'int main()': 0_0_22708989_8566.cpp:48:10: error: too few arguments to function 'void dij(int, int)' dij(x); ^ 0_0_22708989_8566.cpp:10:6: note: declared here void dij(int u,int v){ ^