24点
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Description
一副普通的扑克牌,发牌员给你发三张牌,要求你能否用这三张牌算出24点
要求:只能用四则运算,并且不算大小王
Format
Input
一共T组 每组有三个数a,b,c
Output
若能算出24点,则输出“YES”,反之输出“NO”
Samples
4
8 8 8
1 13 10
11 11 5
10 3 8
YES
YES
NO
NO
Limitation
1s, 1024KiB for each test case.
第三届SWPUACM新生赛VP
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 12
- Start at
- 2022-8-7 18:15
- End at
- 2022-11-5 18:15
- Duration
- 2160 hour(s)
- Host
- Partic.
- 43