Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
1
18305R002-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
0
Merge Requests
0
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
KERKAR NEERAJ VIKAS SNEHA
18305R002-git
Commits
03d6ed95
Commit
03d6ed95
authored
Sep 24, 2018
by
Neeraj Kerkar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add API and data read
parents
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
main.cpp
main.cpp
+21
-0
sorting.h
sorting.h
+5
-0
No files found.
main.cpp
0 → 100644
View file @
03d6ed95
#include "sorting.h"
#include<vector>
#include<iostream>
using
namespace
std
;
int
main
()
{
int
n
,
e
;
vector
<
int
>
a
;
cin
>>
n
;
for
(
int
i
=
0
;
i
<
n
;
i
++
){
cin
>>
e
;
a
.
push_back
(
e
);
}
a
=
sort_custom
(
a
);
cout
<<
endl
;
for
(
int
i
=
0
;
i
<
a
.
size
();
i
++
){
cout
<<
a
[
i
]
<<
" "
;
}
cout
<<
endl
;
}
sorting.h
0 → 100644
View file @
03d6ed95
#include<vector>
using
namespace
std
;
vector
<
int
>
sort_custom
(
vector
<
int
>
);
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