记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:15:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%s",line);
  ^~~~~~~~~~~~~~~~
foo.c: In function 'cal':
foo.c:91:19: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized]
  stack_n[top_n++] = res;
  ~~~~~~~~~~~~~~~~~^~~~~
foo.c: In function 'main':
foo.c:54:19: warning: 'temp' may be used uninitialized in this function [-Wmaybe-uninitialized]
    stack_n[top_n] = temp;
    ~~~~~~~~~~~~~~~^~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect 20. 0ms 256.0 KiB
#2 Accepted 0ms 256.0 KiB
#3 Accepted 0ms 256.0 KiB
#4 Accepted 0ms 256.0 KiB
#5 Accepted 0ms 256.0 KiB

信息

递交者
类型
递交
题目
中缀表达式值(expr)
题目数据
下载
语言
C
递交时间
2021-04-04 21:19:44
评测时间
2021-04-04 21:19:44
评测机
分数
80
总耗时
4ms
峰值内存
256.0 KiB