Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
re_TransCoder
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shangqing Xu
re_TransCoder
Commits
a8bc1433
Commit
a8bc1433
authored
Aug 05, 2020
by
Baptiste Rozière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected the ground truth in MINIMUM_ROTATIONS_REQUIRED_GET_STRING tests
parent
967b53ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
data/evaluation/geeks_for_geeks_successful_test_scripts/python/MINIMUM_ROTATIONS_REQUIRED_GET_STRING.py
+1
-1
No files found.
data/evaluation/geeks_for_geeks_successful_test_scripts/python/MINIMUM_ROTATIONS_REQUIRED_GET_STRING.py
View file @
a8bc1433
...
...
@@ -8,7 +8,7 @@ def f_gold ( str ) :
tmp
=
str
+
str
n
=
len
(
str
)
for
i
in
range
(
1
,
n
+
1
)
:
substring
=
tmp
[
i
:
n
]
substring
=
tmp
[
i
:
i
+
n
]
if
(
str
==
substring
)
:
return
i
return
n
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment