Submission #3024456
Source Code Expand
import numpy as np l = [int(i) for i in input().split()] l_sort = np.sort(l) l_diff = np.diff(l_sort) print(np.sum(l_diff))
Submission Info
Submission Time | |
---|---|
Task | A - Task Scheduling Problem |
User | hktech |
Language | Python (3.4.3) |
Score | 100 |
Code Size | 132 Byte |
Status | AC |
Exec Time | 324 ms |
Memory | 21660 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_01, sample_02, sample_03 |
All | 0_small_rand_0, 0_small_rand_1, 0_small_rand_2, 0_small_rand_3, 1_rand_0, 1_rand_1, 1_rand_2, 1_rand_3, 2_hand_0, 2_hand_1, sample_01, sample_02, sample_03 |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_small_rand_0 | AC | 324 ms | 21660 KB |
0_small_rand_1 | AC | 151 ms | 12400 KB |
0_small_rand_2 | AC | 148 ms | 12400 KB |
0_small_rand_3 | AC | 149 ms | 12400 KB |
1_rand_0 | AC | 149 ms | 12400 KB |
1_rand_1 | AC | 148 ms | 12400 KB |
1_rand_2 | AC | 148 ms | 12276 KB |
1_rand_3 | AC | 148 ms | 12400 KB |
2_hand_0 | AC | 149 ms | 12400 KB |
2_hand_1 | AC | 150 ms | 12400 KB |
sample_01 | AC | 149 ms | 12400 KB |
sample_02 | AC | 148 ms | 12148 KB |
sample_03 | AC | 148 ms | 12400 KB |