初赛复习资料--2.4队列
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
2.4 队列
1),【NOIP2000普及组】设循环队列中数组的下标范围是1-n,其头尾指针分别为f和r,则其元素个数为( ). {{ select(1) }}
- r-f
- r-f+1
- (r-f) % n+1
- (r-f+n) % n
2), 【NOIP2003】已知队列(13, 2,1, 34, 41,77,5,7, 18,26, 15),第一个进入队列的元素是13,则第五个出队列的元素是( )。{{ select(2) }}
- 5
- 41
- 77
- 13
- 18
3),( )是一种先进先出的线性表。{{ select(3) }}
- 栈
- 队列
- 哈希表(散列表)
- 二叉树
初赛模拟卷D
- Status
- Done
- Rule
- OI
- Problem
- 3
- Start at
- 2024-8-16 16:15
- End at
- 2024-8-18 13:45
- Duration
- 2 hour(s)
- Host
- Partic.
- 27