Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:21:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if ((n - c) <= ans)
        ~~~~~~~~^~~~~~
/in/foo.cc:30:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (ans >= (n - d))
        ~~~~^~~~~~~~~~
/in/foo.cc:39:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    else if ((n - c + n - d - 1) <= ans)
             ~~~~~~~~~~~~~~~~~~~~^~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 348.0 KiB
#2 Wrong Answer 2ms 352.0 KiB
#3 Wrong Answer 2ms 352.0 KiB
#4 Wrong Answer 2ms 356.0 KiB
#5 Wrong Answer 1ms 228.0 KiB
#6 Wrong Answer 1ms 224.0 KiB
#7 Wrong Answer 287ms 10.195 MiB
#8 Wrong Answer 287ms 10.113 MiB
#9 Wrong Answer 294ms 10.211 MiB
#10 Wrong Answer 294ms 10.176 MiB

信息

递交者
类型
递交
题目
P1003 棋盘
语言
C++
递交时间
2021-02-20 11:04:46
评测时间
2021-02-20 11:04:46
评测机
分数
0
总耗时
1177ms
峰值内存
10.211 MiB