QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#596629#3669. Counting StairsZhaoZiLongWA 1ms5768kbC++981.0kb2024-09-28 16:09:052024-09-28 16:09:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 5724kb

input:

4
3
5
17
25

output:

1
1
5
12

result:

ok 4 number(s): "1 1 5 12"

Test #2:

score: 0
Accepted
time: 1ms
memory: 5768kb

input:

10
1
2
3
4
5
6
7
8
9
10

output:

1
0
1
1
1
1
1
2
2
2

result:

ok 10 numbers

Test #3:

score: -100
Wrong Answer
time: 1ms
memory: 5724kb

input:

100
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100

output:

1
0
1
1
1
1
1
2
2
2
2
3
3
3
4
5
4
5
4
7
5
8
5
10
7
9
7
11
9
11
10
13
12
13
12
16
13
16
13
19
15
20
15
23
17
23
17
26
20
25
20
28
23
28
24
31
27
31
27
34
30
34
30
38
32
38
32
42
35
43
35
47
38
47
38
51
41
51
41
55
45
54
45
58
49
58
50
62
54
62
54
66
58
66
58
70
62
70
62
75

result:

wrong answer 17th numbers differ - expected: '5', found: '4'