/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:16:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   16 |  while(scanf("%c",&str),str!='\n'){//1+1*3+4
      |        ~~~~~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 2ms 384.0 KiB
#2 Wrong Answer Read -4548, expect 4092. 2ms 384.0 KiB
#3 Wrong Answer Read -1424, expect 2064. 2ms 384.0 KiB
#4 Wrong Answer Read -5787, expect 6357. 2ms 384.0 KiB
#5 Wrong Answer Read -5171, expect 7037. 5ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Wrong Answer Read -1647, expect 4321. 2ms 384.0 KiB
#8 Wrong Answer Read 1847, expect 7047. 5ms 384.0 KiB
#9 Wrong Answer Read 3238, expect 4166. 28ms 384.0 KiB
#10 Wrong Answer Read -836, expect 8540. 54ms 384.0 KiB

信息

递交者
类型
递交
题目
P1849 表达式求值
语言
C++
递交时间
2022-07-12 14:58:53
评测时间
2022-07-12 14:58:53
评测机
分数
10
总耗时
109ms
峰值内存
384.0 KiB