問題一覧 > ネタ問題

No.8084 Give the Gamebook a Try!

レベル : / 実行時間制限 : 1ケース 0.500秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 3
作問者 : hirakich1000000007 / テスター : 1_no_se
お気に入りにしたユーザー ProblemId : 6173 / 自分の提出
問題文最終更新日: 2021-03-31 22:17:25
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence. Back to the original
yukicoder April Fool Contest 2021 (順位表) の他の問題:

Problem Statement

Operate the gamebook below by clicking. Follow the instructions obtained as the result of your try.

0
1
4
16
24
30
45
161 -
-
91
144 -
-
-
82
147 -
-
-
51
152 -
-
59 -
-
18
67 -
110 -
-
54
69 -
77 -
157 -
-
81
112 -
-
-
10=TAIL
12
15
75 -
166 -
-
26 -
-
32
109
155 -
-
-
106 -
111
127 -
-
-
14
89
105 -
-
93
170 -
-
129 -
-
128
163 -
-
-
3
20
23
76
126 -
146 -
-
135 -
-
150 -
164 -
-
31
40
70 -
90 -
-
114 -
123
138 -
-
-
47
61 -
65
151 -
-
100 -
158 -
-
-
6
17
21
60
72 -
-
96
121 -
139 -
-
107 -
-
33
49 -
-
169 -
-
37
149 -
-
53 -
113 -
-
7
19
102 -
-
64 -
98 -
-
116
133 -
-
132 -
-
2
5
27
38
57
71
85 -
103 -
-
145 -
165 -
-
160 -
-
42
52 -
-
63
66 -
-
-
29
48
50
156 -
-
119 -
-
-
92
101
171 -
-
-
-
8
22
34
87
167 -
-
-
58
137 -
-
86 -
-
28
55 -
79 -
108
130 -
-
-
141 -
-
11
35
159 -
-
73
99 -
115 -
-
-
13
84 -
-
97
117 -
-
148
153 -
-
-
9
39
43
46 -
62
143 -
-
95 -
-
44
56
124 -
142 -
-
172 -
-
74 -
-
80
83
88
168 -
-
-
131
154 -
-
-
104
118 -
134 -
-
-
25
41
125 -
162 -
-
68
120 -
136 -
-
78
94 -
-
-
36
140 -
-
122 -
-

Input

$N$
$A_1$ $A_2$ $\dots$ $A_N$
  • All input values are integers.
  • $2 \leq N \leq 10^5$
  • $0 \leq A_i \leq 10^9$

Output

Output the answer on $1$ line, followed by a newline.

Sample

Sample 1
Input
2
0 0
Output
0

提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。