回答編集履歴
2
intにmap
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
input_line = input().rstrip().split(' ')
|
6
6
|
|
7
|
-
p1,p2,p3,*_ = sorted(input_line)
|
7
|
+
p1,p2,p3,*_ = sorted(map(int, input_line))
|
8
8
|
|
9
9
|
print(p1)
|
10
10
|
|
1
修正
test
CHANGED
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
input_line = input().rstrip().split(' ')
|
6
6
|
|
7
|
-
p = sorted(input_line)
|
7
|
+
p1,p2,p3,*_ = sorted(input_line)
|
8
8
|
|
9
|
-
print(p
|
9
|
+
print(p1)
|
10
10
|
|
11
|
-
print(p
|
11
|
+
print(p2)
|
12
12
|
|
13
|
-
print(p
|
13
|
+
print(p3)
|
14
14
|
|
15
15
|
```
|