QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#872655#8615. Equal Stringsucup-team4767#WA 29ms3840kbC++201.8kb2025-01-26 03:17:152025-01-26 03:17:15

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3712kb

input:

4
21
24
21
21
21
21
21
21
21
21
21
21
21
0

output:

1 2
1 3
1 4
1 2
1 4
1 2
1 4
1 2
1 4
1 2
1 4
1 2
1 4
2 4

result:

ok Found equal strings: 2, 4

Test #2:

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

input:

4
28
0

output:

1 2
1 3

result:

ok Found equal strings: 1, 3

Test #3:

score: 0
Accepted
time: 2ms
memory: 3584kb

input:

10
23
24
24
21
25
29
25
24
28
24
24
25
25
24
24
24
25
25
24
24
24
25
25
24
24
24
25
25
24
24
24
25
25
24
24
24
25
25
24
24
24
25
25
24
24
24
25
25
24
24
24
25
25
24
24
24
25
25
24
24
24
25
25
24
26
0

output:

1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 3
1 4
1 6
1 8
1 9
1 3
1 4
1 6
1 8
1 9
1 3
1 4
1 6
1 8
1 9
1 3
1 4
1 6
1 8
1 9
1 3
1 4
1 6
1 8
1 9
1 3
1 4
1 6
1 8
1 9
1 3
1 4
1 6
1 8
1 9
1 3
1 4
1 6
1 8
1 9
1 3
1 4
1 6
1 8
1 9
1 3
1 4
1 6
1 8
1 9
1 3
1 4
1 6
1 8
1 9
3 4
3 9

result:

ok Found equal strings: 3, 9

Test #4:

score: 0
Accepted
time: 13ms
memory: 3840kb

input:

100
23
33
22
31
21
20
29
18
21
34
31
24
20
25
26
19
29
31
28
20
25
29
26
28
26
21
20
21
31
24
22
27
29
23
29
23
21
23
32
31
23
31
28
24
27
25
19
30
26
25
24
22
33
25
28
25
21
23
30
30
23
20
25
24
23
29
28
27
32
31
26
24
29
18
21
21
32
30
24
28
24
30
27
29
22
24
26
22
22
25
22
17
27
23
22
17
24
23
23...

output:

1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 6...

result:

ok Found equal strings: 62, 100

Test #5:

score: -100
Wrong Answer
time: 29ms
memory: 3840kb

input:

500
27
26
25
25
26
30
21
26
29
24
22
25
26
25
26
22
25
19
23
23
26
23
26
27
28
24
27
25
28
25
24
30
21
21
23
31
26
32
29
24
26
20
17
23
24
30
18
29
24
27
23
32
24
25
25
27
25
31
31
25
29
28
22
28
24
24
22
29
26
25
21
26
23
25
29
24
25
29
24
28
24
20
26
24
19
23
26
27
28
21
19
26
19
26
24
23
26
25
20...

output:

1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 6...

result:

wrong answer Too many queries