/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool DFS(int)':
/in/foo.cc:23:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   23 |     for (int i = 0; i < que[st].size(); i++)
      |                     ~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:81:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wformat=]
   81 |     printf("%d\n", ans.size());
      |             ~^     ~~~~~~~~~~
      |              |             |
      |              int           std::vector<int>::size_type {aka long unsigned int}
      |             %ld
/in/foo.cc:82:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   82 |     for (int i = 0; i < ans.size(); i++)
      |                     ~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 496.0 KiB
#2 Accepted 2ms 480.0 KiB
#3 Accepted 2ms 520.0 KiB
#4 Accepted 1ms 476.0 KiB
#5 Accepted 2ms 472.0 KiB
#6 Accepted 1ms 504.0 KiB
#7 Accepted 2ms 524.0 KiB
#8 Accepted 2ms 484.0 KiB
#9 Accepted 2ms 476.0 KiB
#10 Accepted 2ms 536.0 KiB
#11 Accepted 2ms 480.0 KiB
#12 Accepted 2ms 536.0 KiB
#13 Accepted 2ms 524.0 KiB
#14 Accepted 2ms 612.0 KiB
#15 Accepted 2ms 468.0 KiB
#16 Accepted 2ms 624.0 KiB
#17 Accepted 2ms 524.0 KiB
#18 Accepted 2ms 648.0 KiB
#19 Accepted 3ms 668.0 KiB
#20 Accepted 3ms 668.0 KiB

信息

递交者
类型
递交
题目
P1718 兔兔和蛋蛋
语言
C++
递交时间
2025-02-15 15:28:40
评测时间
2025-02-15 15:28:40
评测机
分数
100
总耗时
45ms
峰值内存
668.0 KiB