/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:21:19: warning: array subscript has type 'char' [-Wchar-subscripts]
   for(int i=T[s[0]];i<strlen(s);i++)
                   ^
/in/foo.cc:21:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=T[s[0]];i<strlen(s);i++)
                     ~^~~~~~~~~~
/in/foo.cc:22: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;}
                                ^
/in/foo.cc: In function 'void done(int)':
/in/foo.cc:43:16: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    if((x-j+1)&6==0)break;
               ~^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 2.352 MiB
#2 Accepted 1ms 4.25 MiB
#3 Accepted 3ms 4.25 MiB
#4 Accepted 3ms 2.363 MiB
#5 Accepted 3ms 4.25 MiB
#6 Accepted 137ms 2.461 MiB
#7 Accepted 882ms 4.465 MiB
#8 Accepted 28ms 3.445 MiB
#9 Accepted 677ms 4.5 MiB
#10 Accepted 8ms 4.711 MiB

信息

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