/ Vijos /

记录详情

Accepted

foo.cc: In function 'bool dfs(int)':
foo.cc:15:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   15 |     for (int j = 0; j < edges[i].size(); j++) {
      |                     ~~^~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:43:27: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
   43 |             if (arr[i][j] == 1 ^ (((i + j) & 1) == ((x + y) & 1)))
      |                 ~~~~~~~~~~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 668.0 KiB
#2 Accepted 5ms 668.0 KiB
#3 Accepted 4ms 584.0 KiB
#4 Accepted 4ms 664.0 KiB
#5 Accepted 4ms 668.0 KiB
#6 Accepted 4ms 668.0 KiB
#7 Accepted 4ms 668.0 KiB
#8 Accepted 4ms 668.0 KiB
#9 Accepted 4ms 668.0 KiB
#10 Accepted 4ms 668.0 KiB
#11 Accepted 4ms 668.0 KiB
#12 Accepted 4ms 668.0 KiB
#13 Accepted 4ms 668.0 KiB
#14 Accepted 4ms 668.0 KiB
#15 Accepted 4ms 668.0 KiB
#16 Accepted 5ms 668.0 KiB
#17 Accepted 6ms 668.0 KiB
#18 Accepted 6ms 668.0 KiB
#19 Accepted 7ms 716.0 KiB
#20 Accepted 7ms 668.0 KiB

信息

递交者
类型
递交
题目
P1718 兔兔和蛋蛋
语言
C++
递交时间
2023-08-16 15:22:27
评测时间
2023-08-16 15:22:27
评测机
分数
100
总耗时
100ms
峰值内存
716.0 KiB