编号 题目 状态 分数 总时间 内存 代码 / 答案文件 提交者 提交时间
#23942 #1111. JM的百万大军 Wrong Answer 0 752 ms 98240 K C++ / 388 B 电类904-穆琳杰 2020-03-01 11:44:20
显示原始代码
#include <iostream>
#include <cstdio>
#include <cstring>
using namespace std;
const int N = 5005;
char a[N], b[N];
int dp[N][N];
int main() {
    gets(a);
    gets(b);
    for (int i = 0; i < strlen(a); i++)
        for (int j = 0; j < strlen(b); j++) {
            if (a[i] == b[j])
                dp[i + 1][j + 1] = (dp[i][j] + 1);
            else
                dp[i + 1][j + 1] = max(dp[i][j + 1], dp[i + 1][j]);
        }
    cout << dp[strlen(a)][strlen(b)] << endl;
    return 0;
}
子任务 #1
Wrong Answer
得分:0
测试点 #1
Wrong Answer
得分:0
用时:2 ms
内存:364 KiB

输入文件(1.in

abcde
baedc

答案文件(1.out

2

用户输出

3

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #2
Wrong Answer
得分:0
用时:2 ms
内存:348 KiB

输入文件(2.in

aaaaa
aaaaba

答案文件(2.out

5

用户输出

6

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #3
Wrong Answer
得分:0
用时:4 ms
内存:408 KiB

输入文件(3.in

aaa
bcdefgh

答案文件(3.out

0

用户输出

1

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #4
Wrong Answer
得分:0
用时:3 ms
内存:392 KiB

输入文件(4.in

dddcacdcba
eeddb

答案文件(4.out

3

用户输出

4

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #5
Wrong Answer
得分:0
用时:2 ms
内存:356 KiB

输入文件(5.in

ccaababd
dbbcbcecde

答案文件(5.out

3

用户输出

4

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #6
Wrong Answer
得分:0
用时:2 ms
内存:412 KiB

输入文件(6.in

ecbcdaa
cadebeabc

答案文件(6.out

3

用户输出

4

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #7
Wrong Answer
得分:0
用时:2 ms
内存:348 KiB

输入文件(7.in

deacecbagageegaded
edbdffdeceaggdcagcbaaadddafcaggffccd

答案文件(7.out

11

用户输出

12

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #8
Wrong Answer
得分:0
用时:2 ms
内存:520 KiB

输入文件(8.in

efgeaaebafegbeccaagegdbaebeffceddedggcgbgfcbadbaa
eeeaccedgccdbadcdddbadgegbcgg

答案文件(8.out

20

用户输出

21

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #9
Wrong Answer
得分:0
用时:4 ms
内存:2024 KiB

输入文件(9.in

demuugrcndybfnjwgvwlwrqiqtrvxfzigsduhqmmddpfcqpbdgkyysplqyhmdvyvbmiuxdamsxhzkzybmsgazfwfecfkpvpswbgq
<399 bytes omitted>

答案文件(9.out

59

用户输出

60

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #10
Wrong Answer
得分:0
用时:4 ms
内存:1800 KiB

输入文件(10.in

kyvovensdzfhqxykfrybwopqdceiqcgqigiazsiojqmkiofyhsssikakpjugbaodmgoxhvhoexthokqqzfravxlpvactxtszifwb
<397 bytes omitted>

答案文件(10.out

71

用户输出

72

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #11
Wrong Answer
得分:0
用时:21 ms
内存:18532 KiB

输入文件(11.in

mdchpaerhayeycbivqurhgaleqezyhzjkkasvugqcydzosrmywwfesrnrqpnlvwxhhaxuujkejhbdehkavagnfkpdpydlrqswmws
<3199 bytes omitted>

答案文件(11.out

511

用户输出

512

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #12
Wrong Answer
得分:0
用时:66 ms
内存:68328 KiB

输入文件(12.in

ztbvtrwgajtqtgrlqysegacviwtfmvzmeryzutppycwtzqtruonzeeommupqesvccokfpnjwymdltmzephsvqtyfihgcsjcxabgh
<7276 bytes omitted>

答案文件(12.out

1126

用户输出

1127

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #13
Wrong Answer
得分:0
用时:96 ms
内存:81892 KiB

输入文件(13.in

acccacaacacacbaccbaaacbabcbbcabbacbccabccbcaccbbbbbaabccacbccabccacbacbabaaacabcaaccacaabababbcbccac
<8011 bytes omitted>

答案文件(13.out

2853

用户输出

2854

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #14
Wrong Answer
得分:0
用时:116 ms
内存:98236 KiB

输入文件(14.in

aabcdcabdbbcccdbdbabbbadbccbbaddbacaaccbccaddadccbdcabacadbdcabacbdaaaccccacccddacdddbcacbbbdcdcabca
<9904 bytes omitted>

答案文件(14.out

3244

用户输出

3245

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #15
Wrong Answer
得分:0
用时:84 ms
内存:98240 KiB

输入文件(15.in

hojjmsbbyzqzkaehdfutywvjxytquujpubozxlrkyxiplxhalxhrqvvclplrzmrzknchfdoduuuqedwsjhfzovwkowaxkoicvmlz
<9904 bytes omitted>

答案文件(15.out

1614

用户输出

1615

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #16
Wrong Answer
得分:0
用时:120 ms
内存:82156 KiB

输入文件(16.in

abaaabbabaabbbabaabababbbabbbbaababbbabbbabbabababbbbaabaaabaabbabaaabbabaabbaaaaababbabbaabaabaaaba
<8543 bytes omitted>

答案文件(16.out

3492

用户输出

3493

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #17
Wrong Answer
得分:0
用时:68 ms
内存:88800 KiB

输入文件(17.in

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
<8663 bytes omitted>

答案文件(17.out

4242

用户输出

4243

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #18
Wrong Answer
得分:0
用时:109 ms
内存:96604 KiB

输入文件(18.in

rtrrsrrrttttsssstrqttqqqqqsqtrqqqrsrsrrsrttsqtrqtsssrtqtsqtrtssqrqqqqqtttqtqrqtqssqsrrrsqsstqrssrrss
<9419 bytes omitted>

答案文件(18.out

3103

用户输出

3104

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #19
Wrong Answer
得分:0
用时:10 ms
内存:8940 KiB

输入文件(19.in

unuiclmoskxycylvvfhjyrdnxaznoymqqmmewpyqomptfzmuidponulanjujlmoycrrquuigmznxvvvwbukzqvuqirguxfnufwqd
<4575 bytes omitted>

答案文件(19.out

363

用户输出

364

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #20
Wrong Answer
得分:0
用时:35 ms
内存:26160 KiB

输入文件(20.in

wrflvpgufyfigfiawgsmglvprybhsdvunmjzysneodbpgmultpyapcgoyjkmyxqnsmskhfluttkxwkwlqsdtjvmdaiquldzaakum
<4905 bytes omitted>

答案文件(20.out

348

用户输出

349

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0