/ Vijos /

记录详情

Accepted

foo.cc: In function 'void DFS(int, int)':
foo.cc:60:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < edge[x].son.size(); i++)
                         ~~^~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'void FindDFS(int)':
foo.cc:76:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < edge[x].son.size(); i++)
                         ~~^~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:92:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&n);
     ~~~~~^~~~~~~~~
foo.cc:94:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d",&edge[i].num);
         ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:98:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%d%d", &x, &y, &z);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 8ms 6.469 MiB
#2 Accepted 7ms 6.48 MiB
#3 Accepted 7ms 6.516 MiB
#4 Accepted 9ms 6.605 MiB
#5 Accepted 9ms 6.602 MiB
#6 Accepted 10ms 6.703 MiB
#7 Accepted 18ms 7.492 MiB
#8 Accepted 49ms 9.52 MiB
#9 Accepted 164ms 16.488 MiB
#10 Accepted 166ms 16.48 MiB

信息

递交者
类型
递交
题目
P1487 景点中心
语言
C++
递交时间
2021-03-23 16:37:36
评测时间
2021-03-23 16:37:36
评测机
分数
100
总耗时
451ms
峰值内存
16.488 MiB