foo.cc: In function 'int bfs(int, int)':
foo.cc:34:3: error: 'sprintf_s' was not declared in this scope
sprintf_s(cur, "%09d", que[h][0]);
^~~~~~~~~
foo.cc:34:3: note: suggested alternative: 'sprintf'
sprintf_s(cur, "%09d", que[h][0]);
^~~~~~~~~
sprintf
foo.cc:40:5: error: 'sscanf_s' was not declared in this scope
sscanf_s(cur, "%d", &temp);//换成新状态
^~~~~~~~
foo.cc:40:5: note: suggested alternative: 'sscanf'
sscanf_s(cur, "%d", &temp);//换成新状态
^~~~~~~~
sscanf
foo.cc: In function 'int main()':
foo.cc:69:2: error: 'sscanf_s' was not declared in this scope
sscanf_s(first, "%d", &n);
^~~~~~~~
foo.cc:69:2: note: suggested alternative: 'sscanf'
sscanf_s(first, "%d", &n);
^~~~~~~~
sscanf
foo.cc: In function 'int bfs(int, int)':
foo.cc:62:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务