/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:27:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 if (j=0) j=len;//注意这里!!!
     ~^~
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]);
              ~~~~^
foo.cc:9:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%ld",&n);
 ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 10, expect 11. 1ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Wrong Answer Read 11, expect 12. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1520 zgx的乘积最大
语言
C++
递交时间
2021-07-21 21:04:17
评测时间
2021-07-21 21:04:17
评测机
分数
1
总耗时
3ms
峰值内存
256.0 KiB