P3156 【深基15.例1】询问学号(20分)--python3实现

【深基15.例1】询问学号 - 洛谷

"""

P3156 【深基15.例1】询问学号(20分)--python3实现
https://www.luogu.com.cn/problem/P3156

"""

a=[0]*2000001

n,m=map( int,input().split() )

b=list( map( int,input().split() ) )

for i in range(1,n+1):

            a[i]=b[i-1]

c=list( map( int,input().split() ) )

for i in range (1,m+1):

            x=c[i-1]

            print(a[x])



P5742 【深基7.例11】评等级--python3实现
https://blog.csdn.net/dllglvzhenfeng/article/details/122834290

P5743 【深基7.习8】猴子吃桃(python3实现)
https://blog.csdn.net/dllglvzhenfeng/article/details/122768165

P5744 【深基7.习9】培训(python3实现)
https://blog.csdn.net/dllglvzhenfeng/article/details/122834094

P2240 【深基12.例1】部分背包问题
https://blog.csdn.net/dllglvzhenfeng/article/details/122755625

P2249 【深基13.例1】查找(AC) 2022.1.28
https://blog.csdn.net/dllglvzhenfeng/article/details/122729592

P1009 [NOIP1998 普及组] 阶乘之和-2022.02.01(python3实现)
https://blog.csdn.net/dllglvzhenfeng/article/details/122765402

P1017 [NOIP2000 提高组] 进制转换(python3实现)
https://blog.csdn.net/dllglvzhenfeng/article/details/122769452

P1028 [NOIP2001 普及组] 数的计算(python3、scratch实现)
https://blog.csdn.net/dllglvzhenfeng/article/details/122829923

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

dllglvzhenfeng

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值