Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
1
190050084-190050085-git12337
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
Pokala Mohith
190050084-190050085-git12337
Commits
ac7cd519
Commit
ac7cd519
authored
Aug 29, 2020
by
Pokala Mohith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add basic implementation
parent
d500ff38
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
.gitignore
.gitignore
+2
-0
searching.cpp
searching.cpp
+8
-0
No files found.
.gitignore
0 → 100644
View file @
ac7cd519
a.out
searching.exe
\ No newline at end of file
searching.cpp
0 → 100644
View file @
ac7cd519
#include "main.cpp"
bool
search_custom
(
vector
<
int
>
a
,
int
num
){
for
(
int
i
=
0
;
i
<
a
.
size
();
i
++
){
if
(
a
[
i
]
==
num
)
return
true
;
}
return
false
;
}
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