/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int getnum1(int)':
foo.cc:16:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<s[x].size();i++){
          ~^~~~~~~~~~~~
foo.cc: In function 'int getnum2(int)':
foo.cc:32:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<s[x].size();i++){
          ~^~~~~~~~~~~~
foo.cc:49:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while(i<s[x].size()&&isdigit(s[x][i])){
        ~^~~~~~~~~~~~
foo.cc: In function 'int getnum1(int)':
foo.cc:29:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

自豪的采用jd5进行评测(github.com/masnn/jd5)
# 状态 耗时 内存占用
#1 Accepted 2ms 2.141 MiB
#2 Accepted 2ms 232.0 KiB
#3 Accepted 2ms 224.0 KiB
#4 Accepted 2ms 228.0 KiB
#5 Wrong Answer 3ms 256.0 KiB
#6 Wrong Answer 2ms 224.0 KiB
#7 Wrong Answer 2ms 224.0 KiB
#8 Wrong Answer 2ms 232.0 KiB
#9 Wrong Answer 3ms 224.0 KiB
#10 Accepted 2ms 252.0 KiB

信息

递交者
类型
递交
题目
P2029 时间复杂度
语言
C++
递交时间
2020-01-28 13:57:50
评测时间
2020-01-28 13:57:50
评测机
分数
100
总耗时
22ms
峰值内存
2.141 MiB