foo.cc: In function 'int main()':
foo.cc:34:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
std::scanf("%d%d",&node,&edge);
^
foo.cc:35:74: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=edge;++i) std::scanf("%d%d%d",&e[i].u,&e[i].v,&e[i].cost);
^
foo.cc:37:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
std::scanf("%d",&q);
^
foo.cc:41:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
std::scanf("%d%d",&sta,&end);
^
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-03-24T01:47:05.617Z","handle":"2020-03-24T01:47:05.617Z","cache_start":"2020-03-24T01:47:05.625Z","read_cases":"2020-03-24T01:47:15.373Z","judge":"2020-03-24T01:47:15.374Z","done":"2020-03-24T01:47:21.863Z"}