Submission #8782976


Source Code Expand

N  = int(input())
L = [int(val) for val in input().split(' ')]
L.sort()

if L[-1] < sum(L[:-1]):
  print('Yes')
else:
  print('No')

Submission Info

Submission Time
Task B - Polygon
User naohachi89
Language Python (3.4.3)
Score 200
Code Size 140 Byte
Status AC
Exec Time 17 ms
Memory 2940 KiB

Judge Result

Set Name All Sample
Score / Max Score 200 / 200 0 / 0
Status
AC × 18
AC × 3
Set Name Test Cases
All 0_small_1, 0_small_2, 0_small_3, 0_small_4, 1_max_1, 1_max_2, 1_max_3, 1_max_4, 2_hand_1, 2_hand_2, 2_hand_3, 2_hand_4, 2_hand_5, 2_hand_6, 2_hand_7, sample_01, sample_02, sample_03
Sample sample_01, sample_02, sample_03
Case Name Status Exec Time Memory
0_small_1 AC 17 ms 2940 KiB
0_small_2 AC 17 ms 2940 KiB
0_small_3 AC 17 ms 2940 KiB
0_small_4 AC 17 ms 2940 KiB
1_max_1 AC 17 ms 2940 KiB
1_max_2 AC 17 ms 2940 KiB
1_max_3 AC 17 ms 2940 KiB
1_max_4 AC 17 ms 2940 KiB
2_hand_1 AC 17 ms 2940 KiB
2_hand_2 AC 17 ms 2940 KiB
2_hand_3 AC 17 ms 2940 KiB
2_hand_4 AC 17 ms 2940 KiB
2_hand_5 AC 17 ms 2940 KiB
2_hand_6 AC 17 ms 2940 KiB
2_hand_7 AC 17 ms 2940 KiB
sample_01 AC 17 ms 2940 KiB
sample_02 AC 17 ms 2940 KiB
sample_03 AC 17 ms 2940 KiB