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)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1134 24点游戏
- 语言
- C
- 递交时间
- 2022-05-03 20:03:28
- 评测时间
- 2022-05-03 20:03:28
- 评测机
- 分数
- 80
- 总耗时
- 37ms
- 峰值内存
- 1.25 MiB