解题思路:
注意事项:
参考代码
e,f = map(int,input().split())
dict={}
list = []
while True:
try:
a,b=map(int,input().split())
dict[a] = b
list.append(a)
except:
break
list.sort()
for i in list:
print(f"{i} {dict[i]}")
0.0分
0 人评分
上车人数 (C语言代码)浏览:1249 |
矩阵乘法 (C++代码)浏览:1646 |
Wu-求圆的面积 (C++代码)浏览:1987 |
C语言程序设计教程(第三版)课后习题12.1 (C语言代码)浏览:682 |
盐水的故事 (C语言代码)浏览:1573 |
三进制小数 (C语言代码)浏览:895 |
母牛的故事 (C语言代码)浏览:498 |
C语言训练-求具有abcd=(ab+cd)2性质的四位数 (C语言代码)浏览:931 |
A+B for Input-Output Practice (II) (C++代码)浏览:651 |
防御导弹 (C语言代码)浏览:2267 |