QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#338852 | #850. Edit Distance Yet Again | ParsaGolestani | AC ✓ | 1630ms | 117920kb | C++20 | 4.1kb | 2024-02-26 13:31:46 | 2024-02-26 13:31:51 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 22736kb
input:
2 3 4 3 kot plot 5 7 3 zycie porazka
output:
YES 2 INSERT 2 l REPLACE 1 p NO
result:
ok OK!
Test #2:
score: 0
Accepted
time: 33ms
memory: 27196kb
input:
100 100 100 0 mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm 16 7 100 vvvvvvvvvvvvvvvv qydopaq 37 33 43 ggggggggggggggggggggggggggggggggggggg osk...
output:
YES 0 YES 16 REPLACE 16 q REPLACE 15 a REPLACE 14 p REPLACE 13 o REPLACE 12 d REPLACE 11 y REPLACE 10 q DELETE 9 DELETE 8 DELETE 7 DELETE 6 DELETE 5 DELETE 4 DELETE 3 DELETE 2 DELETE 1 YES 28 REPLACE 37 o REPLACE 36 o REPLACE 35 a REPLACE 34 a REPLACE 31 p REPLACE 29 k REPLACE 28 c REPLACE 27 o REPL...
result:
ok OK!
Test #3:
score: 0
Accepted
time: 1279ms
memory: 62856kb
input:
100 3211 3185 685 wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww...
output:
YES 552 REPLACE 3211 f REPLACE 3201 b REPLACE 3198 a REPLACE 3192 v REPLACE 3188 g REPLACE 3181 l REPLACE 3176 q REPLACE 3173 j REPLACE 3168 y REPLACE 3158 y REPLACE 3149 m REPLACE 3147 x REPLACE 3113 p REPLACE 3109 n REPLACE 3108 n REPLACE 3105 g REPLACE 3102 g REPLACE 3096 e REPLACE 3095 d REPLACE...
result:
ok OK!
Test #4:
score: 0
Accepted
time: 1200ms
memory: 117732kb
input:
5 999000 998976 995 llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll...
output:
YES 894 REPLACE 998911 h REPLACE 996108 x REPLACE 996096 g REPLACE 994700 i REPLACE 994360 u REPLACE 993105 q REPLACE 993027 q REPLACE 992787 w REPLACE 991955 u REPLACE 990316 v REPLACE 989560 d REPLACE 989480 y REPLACE 989317 n REPLACE 988977 d REPLACE 988162 w REPLACE 988083 e REPLACE 985762 v REP...
result:
ok OK!
Test #5:
score: 0
Accepted
time: 1630ms
memory: 117728kb
input:
5 999000 998971 1000 lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll...
output:
NO NO NO NO NO
result:
ok OK!
Test #6:
score: 0
Accepted
time: 494ms
memory: 117812kb
input:
5 1000000 1000000 1000 faafaffaaffafaafaffafaaffaafaffaaffafaaffaafaffafaafaffaaffafaafaffafaaffaafaffafaafaffaaffafaaffaafaffaaffafaafaffafaaffaafaffaaffafaaffaafaffafaafaffaaffafaaffaafaffaaffafaafaffafaaffaafaffafaafaffaaffafaafaffafaaffaafaffaaffafaaffaafaffafaafaffaaffafaafaffafaaffaafaffafaafa...
output:
YES 246 INSERT 2049 f REPLACE 2047 a INSERT 2044 f INSERT 2039 f INSERT 2038 a INSERT 2029 f INSERT 2028 a INSERT 2027 a INSERT 2026 f INSERT 2009 f INSERT 2008 a INSERT 2007 a INSERT 2006 f INSERT 2005 a INSERT 2004 f INSERT 2003 f INSERT 2002 a INSERT 1969 f REPLACE 1967 a INSERT 1964 f DELETE 195...
result:
ok OK!
Test #7:
score: 0
Accepted
time: 1594ms
memory: 117920kb
input:
5 999900 999925 992 ejqwvowvntrtmokrfeqeybcvgsupftozhkdsyytrioxrzbahikexefgyhpwbcztcydqiibxukojvgedldgmjufkzwttpvftctkpajgpwiklfzrkjxzsltqdbfdyxqpswrrlkdbmwckbhbfpqqgnhcixcnmphjulyykqfvdrqsdskbxqlqvekhwmvzmtqannmxrjgqcpdpofmqozyicaiqjikqxkeolandjydgvtjhnzubpdtkxymaxffnopnnrpnedobnfljcvtqwmuxdctutidm...
output:
YES 938 INSERT 999192 g DELETE 999157 REPLACE 998754 g INSERT 998259 b INSERT 998188 g DELETE 998145 REPLACE 997378 t DELETE 997088 INSERT 994694 t REPLACE 993971 b DELETE 990472 REPLACE 988552 t DELETE 987639 DELETE 985945 DELETE 985429 DELETE 983806 INSERT 983299 t REPLACE 981534 g INSERT 978807 t...
result:
ok OK!