/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:21:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < s.length(); i++)
                   ~~^~~~~~~~~~~~
foo.cc:31:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
      if (first % 10 == 1 && second % 10 == 3 || first % 10 == 3 && second % 10 == 1)
          ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:40:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
       if (first / 10 == 1 && second / 10 == 3 || first / 10 == 3 && second / 10 == 1)
           ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~

自豪的采用jd5进行评测(github.com/masnn/jd5)
{"receive":"2020-02-24T07:00:44.785Z","handle":"2020-02-24T07:00:44.785Z","cache_start":"2020-02-24T07:00:44.785Z","read_cases":"2020-02-24T07:00:45.582Z","judge":"2020-02-24T07:00:45.582Z","done":"2020-02-24T07:00:46.289Z"}
# 状态 耗时 内存占用
#1 Accepted 2ms 252.0 KiB
#2 Accepted 2ms 268.0 KiB
#3 Accepted 2ms 252.0 KiB
#4 Accepted 2ms 252.0 KiB
#5 Accepted 2ms 232.0 KiB

信息

递交者
类型
递交
题目
P1300 儿子游戏机
语言
C++
递交时间
2020-02-24 15:00:44
评测时间
2020-02-24 15:00:44
评测机
分数
100
总耗时
10ms
峰值内存
268.0 KiB