Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AP-CHMIELEWSKI-Louis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Louis Chmielewski
AP-CHMIELEWSKI-Louis
Commits
34a84d15
Commit
34a84d15
authored
1 year ago
by
Louis Chmielewski
Browse files
Options
Downloads
Patches
Plain Diff
mesures_temps_acces_dicotrie mesures
parent
9dfad359
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tp06/mesures.py
+2
-2
2 additions, 2 deletions
Tp06/mesures.py
with
2 additions
and
2 deletions
Tp06/mesures.py
+
2
−
2
View file @
34a84d15
...
...
@@ -60,7 +60,7 @@ def mesures_temps_acces_dict(tailles: list[int]) -> list[float]:
Précondition : tous les entiers de tailles sont positifs ou nuls
"""
...
return
[
mesure_temps_acces
(
taille
,
d
)
for
taille
in
generation_dict
(
tailles
)]
def
mesures_temps_acces_dicotrie
(
tailles
:
list
[
int
])
->
list
[
float
]:
"""
Renvoie les listes des temps moyens pour accéder à 1000 éléments quelconques
...
...
@@ -70,7 +70,7 @@ def mesures_temps_acces_dicotrie(tailles: list[int]) -> list[float]:
Précondition : tous les entiers de tailles sont positifs ou nuls
"""
...
return
[
mesure_temps_acces
(
taille
,
d
)
for
taille
in
generation_dicotrie
(
tailles
)]
if
__name__
==
'
__main__
'
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment