Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
1
170050020-170050046-170050058-git
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
KIRAN CHANDRAKANT DAPKAR
170050020-170050046-170050058-git
Commits
efdecbe2
Commit
efdecbe2
authored
Aug 26, 2018
by
KIRAN CHANDRAKANT DAPKAR
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated usage in main.cpp
parent
7b55c927
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
main.cpp
main.cpp
+7
-7
No files found.
main.cpp
View file @
efdecbe2
...
...
@@ -2,11 +2,11 @@
#include <iostream>
using
namespace
std
;
int
main
(){
int
n
;
cin
>>
n
;
vector
<
int
>
inp
(
n
),
out
;
for
(
int
i
=
0
;
i
<
n
;
i
++
)
cin
>>
inp
[
i
];
out
=
sort_custom
(
inp
);
for
(
int
i
=
0
;
i
<
n
;
i
++
)
cout
<<
out
[
i
]
<<
" "
;
int
n
,
s
,
e
;
cin
>>
n
>>
s
>>
e
;
vector
<
int
>
vec
(
n
),
vec1
;
for
(
int
i
=
0
;
i
<
n
;
i
++
)
cin
>>
vec
[
i
];
vec1
=
sort_custom
(
vec
,
s
,
e
);
for
(
int
i
=
0
;
i
<
n
;
i
++
)
cout
<<
vec1
[
i
]
<<
" "
;
return
0
;
}
\ No newline at end of file
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