/ WHOJ /

记录详情

Accepted

foo.cc: In function 'void dfs(int, int)':
foo.cc:8:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    8 |  for (int i = 0; i < v[u].size(); ++i) {
      |                  ~~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:27:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   27 |   scanf("%d:(%d)", &u, &m);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:30:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   30 |    scanf("%d", &y);
      |    ~~~~~^~~~~~~~~~
正在同步测试数据,请稍后
Found 5 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1415 城市守卫
题目数据
下载
语言
C++
递交时间
2022-07-27 16:21:59
评测时间
2022-07-27 16:21:59
评测机
分数
100
总耗时
13ms
峰值内存
384.0 KiB