Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MoGakSo_102
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
Container 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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
송 재혁
MoGakSo_102
Compare revisions
77af50411a4364ddb823a1eda13ef18074e532c6 to 56f0f820263920a48a5a796db02a1bc9d5ae05d5
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
JaehyukSong/mogakso_102
Select target project
No results found
56f0f820263920a48a5a796db02a1bc9d5ae05d5
Select Git revision
Branches
main
Swap
Target
JaehyukSong/mogakso_102
Select target project
JaehyukSong/mogakso_102
1 result
77af50411a4364ddb823a1eda13ef18074e532c6
Select Git revision
Branches
main
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
init commit
· 5411c0fe
mingi123
authored
1 month ago
5411c0fe
9999.py
· f387b3d9
Mingi Jung
authored
1 month ago
f387b3d9
1021.py
· 56f0f820
Mingi Jung
authored
1 month ago
56f0f820
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ps/1021/1021_mingi.py
+4
-0
4 additions, 0 deletions
ps/1021/1021_mingi.py
ps/9999/9999.py
+0
-0
0 additions, 0 deletions
ps/9999/9999.py
temp/temp.py
+1
-0
1 addition, 0 deletions
temp/temp.py
with
5 additions
and
0 deletions
ps/1021/1021_mingi.py
View file @
56f0f820
...
...
@@ -7,6 +7,8 @@ n, m = map(int, input().split())
arr
=
list
(
map
(
int
,
input
().
split
()))
dq
=
deque
([
i
for
i
in
range
(
1
,
n
+
1
)])
print
(
dq
)
for
i
in
arr
:
while
True
:
if
dq
[
0
]
==
i
:
...
...
@@ -21,4 +23,6 @@ for i in arr:
while
dq
[
0
]
!=
i
:
dq
.
appendleft
(
dq
.
pop
())
cnt
+=
1
print
(
dq
)
print
()
print
(
cnt
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ps/9999/9999.py
0 → 100644
View file @
56f0f820
This diff is collapsed.
Click to expand it.
temp/temp.py
0 → 100644
View file @
56f0f820
print
(
"
Hello
"
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.