/ 逝之oj /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:9:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    9 |  scanf("%d%d",&n,&m);
      |  ~~~~~^~~~~~~~~~~~~~
foo.cc:12:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   12 |   scanf("%d",&a[i]);
      |   ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 2ms 384.0 KiB
#2 Runtime Error Segmentation fault 3ms 512.0 KiB
#3 Wrong Answer Read 0, expect 55399354900932223. 2ms 384.0 KiB
#4 Wrong Answer Read 0, expect 8657612186014260937. 3ms 384.0 KiB
#5 Wrong Answer Read 0, expect 8910337741651648877. 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1004 最大乘加和
语言
C++
递交时间
2022-07-30 23:13:54
评测时间
2022-07-30 23:13:54
评测机
分数
0
总耗时
14ms
峰值内存
512.0 KiB