/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int getnum1(int)':
/in/foo.cc:16:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<s[x].size();i++){
          ~^~~~~~~~~~~~
/in/foo.cc: In function 'int getnum2(int)':
/in/foo.cc:32:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<s[x].size();i++){
          ~^~~~~~~~~~~~
/in/foo.cc:49:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while(i<s[x].size()&&isdigit(s[x][i])){
        ~^~~~~~~~~~~~
/in/foo.cc: In function 'int getnum1(int)':
/in/foo.cc:29:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 1ms 196.0 KiB
#2 Accepted 1ms 200.0 KiB
#3 Accepted 1ms 208.0 KiB
#4 Accepted 1ms 200.0 KiB
#5 Wrong Answer 1ms 204.0 KiB
#6 Wrong Answer 1ms 204.0 KiB
#7 Wrong Answer 1ms 208.0 KiB
#8 Wrong Answer 1ms 204.0 KiB
#9 Wrong Answer 1ms 208.0 KiB
#10 Accepted 1ms 200.0 KiB

信息

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