Solutions are presented as using the least memory and the fastest execution time. It also takes the top
10 most recent solutions from each language. If you want to limit to a specific index, click the
"Solved" button and go to that problem.
Problems
B'Levenshtein distance between two strings of letters is calculated as the minimal total cost of a sequence of edit actions that converts one of the strings into the other one. The allowed edit actions are: You are given two strings. Find the Levenshtein distance between them. The input data consists of two lines, each line contains a string of lowercase Latin letters. Each string is between 1 and 100 letters long, inclusive. Output a single integer -- the Levenshtein distance between the strings. In the first example you should replace a with b (cost 1), r with u (cost 3) and c with g (cost 4). In the second example you should insert r (cost 18) are replace m with n (cost 1).'... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
10508458 |
Igorjan94 |
G |
March 28, 2015, 7:50 p.m. |
OK |
Picat |
TESTS |
26 |
30 |
0 |
|
2300 |
10507686 |
Luk Kronecker |
G |
March 28, 2015, 7:11 p.m. |
OK |
Picat |
TESTS |
26 |
30 |
0 |
|
2300 |
40987130 |
ReaLNero1 |
G |
July 30, 2018, 9 p.m. |
OK |
Picat |
TESTS |
26 |
30 |
102400 |
|
2300 |
10505914 |
Kelang maksbotan |
G |
March 28, 2015, 6:17 p.m. |
OK |
Picat |
TESTS |
26 |
30 |
102400 |
|
2300 |
35886241 |
______u______ |
G |
March 3, 2018, 1:43 p.m. |
OK |
Picat |
TESTS |
26 |
30 |
30822400 |
|
2300 |
35885963 |
______n______ |
G |
March 3, 2018, 1:38 p.m. |
OK |
Picat |
TESTS |
26 |
30 |
30822400 |
|
2300 |
35885297 |
_____k_____ |
G |
March 3, 2018, 1:27 p.m. |
OK |
Picat |
TESTS |
26 |
30 |
30822400 |
|
2300 |
35884987 |
_____i_____ |
G |
March 3, 2018, 1:21 p.m. |
OK |
Picat |
TESTS |
26 |
30 |
30822400 |
|
2300 |
35874214 |
______h______ |
G |
March 3, 2018, 7:46 a.m. |
OK |
Picat |
TESTS |
26 |
30 |
30822400 |
|
2300 |
35873981 |
______k______ |
G |
March 3, 2018, 7:40 a.m. |
OK |
Picat |
TESTS |
26 |
30 |
30822400 |
|
2300 |
remove filters
Back to search problems