Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
1
170050034-170050094-170050096-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
RAJDEEP YADAV
170050034-170050094-170050096-git
Commits
f1b900d5
Commit
f1b900d5
authored
Aug 26, 2018
by
RAJDEEP YADAV
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
19 additions
and
0 deletions
+19
-0
main.cpp
main.cpp
+16
-0
sorting.h
sorting.h
+3
-0
No files found.
main.cpp
0 → 100644
View file @
f1b900d5
#include<iostream>
#include "sorting.h"
#include<vector>
using
namespace
std
;
int
main
(){
int
N
;
cin
>>
N
;
vector
<
int
>
arr
(
N
);
for
(
int
i
=
0
;
i
<
N
;
i
++
)
cin
>>
arr
[
i
];
vector
<
int
>
ans
=
sort_custom
(
arr
);
for
(
int
i
=
0
;
i
<
N
;
i
++
)
cout
<<
ans
[
i
]
<<
" "
;
cout
<<
endl
;
}
\ No newline at end of file
sorting.h
0 → 100644
View file @
f1b900d5
#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