/ XMU_ACM /

记录详情

Accepted

foo.cc: In function 'void dfs1(int)':
foo.cc:22:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < edge[x].size(); ++i) {
                  ~~^~~~~~~~~~~~~~~~
foo.cc: In function 'void dfs2(int, int)':
foo.cc:45:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < edge[x].size(); ++i) {
                  ~~^~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:56:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d", &n, &m);
  ~~~~~^~~~~~~~~~~~~~~~
foo.cc:59:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d", &u, &v);
   ~~~~~^~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 2.625 MiB
#2 Accepted 4ms 2.641 MiB
#3 Accepted 3ms 2.625 MiB
#4 Accepted 43ms 12.223 MiB
#5 Accepted 99ms 7.691 MiB

信息

递交者
类型
递交
题目
P1078 爬树
比赛
厦大附中模拟赛第五场
语言
C++
递交时间
2021-02-04 15:40:19
评测时间
2021-02-04 15:40:19
评测机
分数
100
总耗时
154ms
峰值内存
12.223 MiB