/ Vijos /

记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:52:13: warning: comparison with string literal results in unspecified behavior [-Waddress]
   52 |         if(s=="10")
      |             ^~
foo.c:93:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   93 |                 if(x!=0&&(double)y/x==24||y!=0&&(double)x/y==24)ans=1;
      |                    ~~~~^~~~~~~~~~~~~~~~~
foo.c:51:8: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   51 |        scanf("%s",s);
      |        ^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 1.125 MiB
#2 Accepted 4ms 1.25 MiB
#3 Accepted 4ms 1.125 MiB
#4 Accepted 3ms 1.125 MiB
#5 Accepted 2ms 1.125 MiB
#6 Accepted 3ms 1.125 MiB
#7 Wrong Answer Read 1, expect 0. 2ms 1.125 MiB
#8 Accepted 2ms 1.125 MiB
#9 Wrong Answer Read 1, expect 0. 4ms 1.125 MiB
#10 Accepted 3ms 1.125 MiB

信息

递交者
类型
递交
题目
P1134 24点游戏
语言
C
递交时间
2022-05-03 20:03:28
评测时间
2022-05-03 20:03:28
评测机
分数
80
总耗时
37ms
峰值内存
1.25 MiB