/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:20:19: warning: array subscript has type 'char' [-Wchar-subscripts]
   for(int i=T[s[0]];i<strlen(s);i++)
                   ^
/in/foo.cc:20:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=T[s[0]];i<strlen(s);i++)
                     ~^~~~~~~~~~
/in/foo.cc:21:32: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(s[i]=='-'){x=tdigit(T[s[0]],i-1);y=tdigit(i+1,strlen(s)-1);break;}
                                ^
# 状态 耗时 内存占用
#1 Accepted 1ms 2.375 MiB
#2 Accepted 2ms 2.254 MiB
#3 Accepted 1ms 2.332 MiB
#4 Accepted 1ms 2.375 MiB
#5 Accepted 3ms 2.367 MiB
#6 Accepted 2ms 2.375 MiB
#7 Wrong Answer 12ms 3.375 MiB
#8 Wrong Answer 5ms 4.625 MiB
#9 Wrong Answer 7ms 3.207 MiB
#10 Wrong Answer 11ms 3.215 MiB

信息

递交者
类型
递交
题目
P1246 文科生的悲哀(二)
语言
C++
递交时间
2017-06-02 11:06:06
评测时间
2017-06-02 11:06:06
评测机
分数
60
总耗时
49ms
峰值内存
4.625 MiB