/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:26:19: warning: array subscript has type 'char' [-Wchar-subscripts]
   for(int i=T[s[0]];i<strlen(s);i++)
                   ^
/in/foo.cc:26:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=T[s[0]];i<strlen(s);i++)
                     ~^~~~~~~~~~
/in/foo.cc:27: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 2ms 384.0 KiB
#2 Accepted 1ms 360.0 KiB
#3 Accepted 3ms 288.0 KiB
#4 Wrong Answer 3ms 372.0 KiB
#5 Accepted 3ms 256.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Wrong Answer 16ms 904.0 KiB
#8 Wrong Answer 10ms 1.066 MiB
#9 Wrong Answer 12ms 1.0 MiB
#10 Wrong Answer 16ms 1.125 MiB

信息

递交者
类型
递交
题目
P1246 文科生的悲哀(二)
语言
C++
递交时间
2017-06-01 14:00:43
评测时间
2017-06-01 14:00:43
评测机
分数
50
总耗时
73ms
峰值内存
1.125 MiB