/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:27:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 if (j=0) j==len;
        ^
/in/foo.cc:27:11: warning: statement has no effect [-Wunused-value]
 if (j=0) j==len;
          ~^~~~~
/in/foo.cc:48:18: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
 printf("%ld",a[i]);
                  ^
# 状态 耗时 内存占用
#1 Accepted 5ms 2.332 MiB

信息

递交者
类型
自测
题目
P1520 zgx的乘积最大
语言
C++
递交时间
2018-03-15 19:41:50
评测时间
2018-03-15 19:41:50
评测机
分数
10
总耗时
5ms
峰值内存
2.332 MiB