UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#119716#1028. 斐波拉契数列第k项Mars1000ms508kbC++437b2020-10-05 10:55:212020-10-05 10:55:23

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 20
Accepted
time: 0ms
memory: 500kb

input:

5
1
2
3
4
5


output:

1
1
2
3
5

result:

ok 5 lines

Test #2:

score: 20
Accepted
time: 0ms
memory: 504kb

input:

10
2
5
7
40
3
2
7
9
39
1

output:

1
5
13
102334155
2
1
13
34
63245986
1

result:

ok 10 lines

Test #3:

score: 20
Accepted
time: 0ms
memory: 504kb

input:

20
1
3
5
7
8
4
40
34
22
10
1
2
3
4
5
6
7
8
9
2

output:

1
2
5
13
21
3
102334155
5702887
17711
55
1
1
2
3
5
8
13
21
34
1

result:

ok 20 lines

Test #4:

score: 20
Accepted
time: 0ms
memory: 508kb

input:

1
40

output:

102334155

result:

ok single line: '102334155'

Test #5:

score: 20
Accepted
time: 0ms
memory: 504kb

input:

10000
16
35
32
8
4
39
21
36
32
31
5
36
10
31
30
11
39
2
2
30
21
30
35
6
16
2
10
21
21
14
14
6
14
23
...

output:

987
9227465
2178309
21
3
63245986
10946
14930352
2178309
1346269
5
14930352
55
1346269
832040
89
632...

result:

ok 10000 lines