Codeforces Round 710 (Div. 3)

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.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
1506 Codeforces Round 710 (Div. 3) FINISHED False 7200 120497063 March 25, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 26264 ) C Double-ended Strings PROGRAMMING brute force dp hashing strings

B'You are given the strings a and b , consisting of lowercase Latin letters. You can do any number of the following operations in any order: Note that after each of the operations, the string a or b may become empty. For example, if a= "hello" and b= "icpc", then you can apply the following sequence of operations: For the given strings a and b , find the minimum number of operations for which you can make the strings a and b equal. Note that empty strings are also equal. The first line contains a single integer t ( 1 <= t <= 100 ). Then t test cases follow. The first line of each test case contains the string a ( 1 <= |a| <= 20 ), consisting of lowercase Latin letters. The second line of each test case contains the string b ( 1 <= |b| <= 20 ), consisting of lowercase Latin letters. For each test case, output the minimum number of operations that can make the strings a and b equal. '...

Tutorials

Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
111091216 nohack7 C March 26, 2021, 2:58 a.m. OK Clang++17 Diagnostics TESTS 8 46 0
111060102 diegodaco08 C March 25, 2021, 4:34 p.m. OK .NET Core C# TESTS 8 77 409600

remove filters

Back to search problems