记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:5:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    5 |  scanf("%d%d",&a,&b);
      |  ~~~~~^~~~~~~~~~~~~~
foo.cc:6:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    6 |  scanf("%d%d",&c,&d);
      |  ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Runtime Error Illegal instruction 1ms 384.0 KiB
#3 Wrong Answer Read 87, expect 263. 1ms 256.0 KiB
#4 Wrong Answer Read 3, expect 89. 1ms 256.0 KiB
#5 Wrong Answer Read 2, expect 7. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
A6-2 最大公约数专题:分数的加法
比赛
2022春 C语言课程设计 作业1
语言
C++
递交时间
2022-02-28 16:34:23
评测时间
2022-02-28 16:34:23
评测机
分数
20
总耗时
7ms
峰值内存
384.0 KiB