Accepted

/in/foo.cc: In function 'Int operator+(Int, Int)':
/in/foo.cc:79:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
    if (A.base != B.base)
       ^
/in/foo.cc: In function 'Int operator-(Int, Int)':
/in/foo.cc:113:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
    if (A.base != B.base)
       ^
/in/foo.cc: In function 'Int operator*(Int, Int)':
/in/foo.cc:141:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
    if (A.base != B.base)
       ^
/in/foo.cc: In function 'std::pair<Int, Int> divide(Int, Int)':
/in/foo.cc:168:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
    if (A.base != B.base)
       ^
/in/foo.cc: In function 'bool small(Int, Int)':
/in/foo.cc:237:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
    if (A.base != B.base)
       ^
/in/foo.cc: In function 'bool operator==(Int, Int)':
/in/foo.cc:257:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
    if (A.base != B.base)
       ^
/in/foo.cc: In member function 'void Int::from_arr(char*)':
/in/foo.cc:455:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (b == base)
         ~~^~~~~~~
/in/foo.cc: In member function 'void Int::read()':
/in/foo.cc:486:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int i = 0; i < s.size(); i++)
                    ~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 216.0 KiB
#2 Accepted 3ms 224.0 KiB
#3 Accepted 1ms 228.0 KiB
#4 Accepted 1ms 224.0 KiB
#5 Accepted 1ms 224.0 KiB
#6 Accepted 1ms 224.0 KiB
#7 Accepted 1ms 228.0 KiB
#8 Accepted 1ms 224.0 KiB
#9 Accepted 1ms 224.0 KiB
#10 Accepted 1ms 224.0 KiB

信息

递交者
类型
递交
题目
P2186 下落的小球
语言
C++
递交时间
2021-05-04 14:55:26
评测时间
2021-05-04 14:55:26
评测机
分数
100
总耗时
17ms
峰值内存
228.0 KiB