/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void fft(cp*, int, int)':
/in/foo.cc:20:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(k=(n>>1);k&i;i^=k,k>>=1);i^=k;
   ^~~
/in/foo.cc:20:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(k=(n>>1);k&i;i^=k,k>>=1);i^=k;
                                ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:40:50: warning: narrowing conversion of '(((int)ch[i]) - 48)' from 'int' to 'long double' inside { } [-Wnarrowing]
  for(int i=len1-1;i>=0;i--)a[len1-i-1]=(cp){ch[i]-'0',0};
                                             ~~~~~^~~~
/in/foo.cc:43:50: warning: narrowing conversion of '(((int)ch[i]) - 48)' from 'int' to 'long double' inside { } [-Wnarrowing]
  for(int i=len2-1;i>=0;i--)b[len2-i-1]=(cp){ch[i]-'0',0};
                                             ~~~~~^~~~
# 状态 耗时 内存占用
#1 Accepted 14ms 6.359 MiB
#2 Accepted 6ms 6.359 MiB
#3 Accepted 13ms 6.375 MiB
#4 Accepted 25ms 8.469 MiB

信息

递交者
类型
递交
题目
P1040 高精度乘法
语言
C++
递交时间
2017-10-31 13:14:07
评测时间
2017-10-31 13:14:07
评测机
分数
100
总耗时
59ms
峰值内存
8.469 MiB