P1152 欢乐的跳( python3实现)
歡樂的跳 - 洛谷
""" P1152 歡樂的跳( python3實現) https://www.luogu.com.cn/problem/P1152""" import sysc=[0]*1010#n=int( input() )a=list( map( int ,input().split() ) )n=a[0]d=[]for i in range(1,n):c[i]=abs(a[i]-a[i+1])d.append(c[i])d.sort()for i in range(0,n-1):if d[i]!=i+1:print("Not jolly")sys.exit(0) print("Jolly")NOIP1996復賽 普及組 第二題 python
http://1.8編程基礎之多維數組 02 同行列對角線的格子
http://noi.openjudge.cn/ch0108/02/
1.8編程基礎之多維數組 03 計算矩陣邊緣元素之和 python
https://blog.csdn.net/dllglvzhenfeng/article/details/122652741
1.8 編程基礎之多維數組 04 錯誤探測 python
https://blog.csdn.net/dllglvzhenfeng/article/details/122660192
1.8 編程基礎之多維數組 08 矩陣加法 python
https://blog.csdn.net/dllglvzhenfeng/article/details/122660285
1.8 編程基礎之多維數組 10 矩陣轉置 python
https://blog.csdn.net/dllglvzhenfeng/article/details/122676518
1.8 編程基礎之多維數組 11 圖像旋轉 4分 python
https://blog.csdn.net/dllglvzhenfeng/article/details/122676829
1.8 編程基礎之多維數組 22 神奇的幻方 python
https://blog.csdn.net/dllglvzhenfeng/article/details/122660329
?
總結
以上是生活随笔為你收集整理的P1152 欢乐的跳( python3实现)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 面码份量Java_JAVA语言(28道练
- 下一篇: 基础省选+NOI 第5部分 数论进阶