UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#92910#1028. 斐波拉契数列第k项Snow122910013ms1196kbC++285b2020-02-16 20:22:372020-02-16 20:22:37

answer


Details

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

Test #1:

score: 20
Accepted
time: 1ms
memory: 1192kb

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: 1192kb

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: 1192kb

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: 1196kb

input:

1
40

output:

102334155

result:

ok single line: '102334155'

Test #5:

score: 20
Accepted
time: 12ms
memory: 1196kb

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