Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Precios
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
Any way to make this code faster? (C++)
bhaskara
c++
coding
doubt
function
math
optimize
pls
pls-help
question
2 Votos
1 Respuesta
2nd Oct 2019, 2:38 PM
Drodrigues
Hey guys, i am new in programming, can anyone write me a function that returns the number of unique values in the linked list
java
0 Votos
2 Respuestas
16th Mar 2018, 2:00 AM
Abdurakhmonjon Makhkamjonov
Can someone explain Typedef to me in really simple language?
and
cpp
declaration
definition
function
overloading
questions
1 Voto
3 Respuestas
2nd Jun 2017, 1:06 PM
Jatin Srivastava
Write a function interverse (n) tht takes as positive integer n and returns the integer obtainef by reversing the digits in n
python
-2 Votos
2 Respuestas
5th Feb 2017, 3:29 AM
kavitha.k
Why are we using virtual functions in C++? What is the usage of attack function in virtual function? Can anyone explain me?
c++
polymorphism
1 Voto
1 Respuesta
11th Feb 2017, 3:59 PM
Nithyapriya
What is the difference between return 0 in the end of main code and return 0 in the end of function code
return
value
0 Votos
1 Respuesta
16th Aug 2018, 2:16 PM
Kondepati Bhavana
What is the difference between return 0 in the end of main code and return 0 in the end of function code
return
value
0 Votos
1 Respuesta
16th Aug 2018, 2:15 PM
Kondepati Bhavana
14. Write a JavaScript function to get all possible subset with a fixed length (for example 2) combinations in an array. Sampl
arrays
javascript
0 Votos
1 Respuesta
8th Dec 2016, 9:39 PM
Nashwan Aziz
Write a function called manipulate_data which will act as follows: When given a list of integers, return a list, where the fi
python
0 Votos
1 Respuesta
17th Sep 2016, 1:57 PM
Dennis
z value is 5 in main function,but after calling fun function z value become 15 in fun function.can anyone syggest the answer....
c
0 Votos
1 Respuesta
22nd Feb 2018, 8:35 PM
Anand Namastemath
A Function that find the sum of integer number that intered by the user Consists of k of numbers using c++ language
..
-2 Votos
1 Respuesta
22nd Jun 2020, 7:11 AM
Salma Alfarra
find simple intrest. ask value of P R N from the user and pass in to the function and receive an answer.
c++
0 Votos
1 Respuesta
13th Dec 2017, 2:12 PM
RUTVIK JOSHI
I need help with implementing the missing function outputing the rightmost bit of the state variable. The code is in C language.
c
c++
0 Votos
1 Respuesta
4th Oct 2017, 3:46 PM
Anastasia
Should we pass structure or pointer to structure?
c
editor
expert
function
pointer
sololearn
struct
structure
2 Votos
1 Respuesta
10th Apr 2018, 6:10 AM
Aman Kumar Jain
I know this is very basic. But I am confused when and where exactly we use the >>> symbol. Just running using print function would do for a basic code right?
python
0 Votos
4 Respuestas
31st Jul 2016, 1:31 AM
Navaneeth Soori
Can anyone explain this code.
argument
coding
explain
function
int
python
python3
sololearn
string
2 Votos
1 Respuesta
30th Apr 2018, 5:23 PM
Maninder $ingh
Can someone explain Functional Programming in Python? (Friendly plz)
comments
function
functional
functional-programming
module7
modules
python
python3
stuck
2 Votos
2 Respuestas
8th Dec 2020, 6:04 PM
:DD
as it is given that we can declare variable any where . so why we can not use global variable in local function
php
variables
0 Votos
2 Respuestas
16th Jul 2016, 7:20 PM
abhijit kushwaha
Write A C++ Function To Shift The Negative Numbers To Left And The Positive Numbers To The Right Of An Array Of Numbers.
arrays
c++
sololearn
1 Voto
1 Respuesta
25th Feb 2017, 5:02 AM
Soutik
for go language : can anyone tell me how the starting job is printing without printing finished job exactly after that
function
go
goroutine
worker
worker-pools
0 Votos
1 Respuesta
22nd Apr 2020, 11:08 AM
Sahil Bhakat
How can I code a formula (c++) about the Dudeney number using functions?
c++
code
dudeney
formula
function
0 Votos
1 Respuesta
10th Jun 2017, 12:34 AM
Cinty
Why do we preffer writing int main() instead of void main()...?
c
cpp
function
main
return_type
1 Voto
1 Respuesta
25th Sep 2017, 5:44 PM
Ankur Pashine
useful Java library functions
built-in
function
java
methods
pigeon
0 Votos
1 Respuesta
1st Sep 2017, 4:25 PM
Michael Vigato
Its about friend function, HOW IT BREAK/ VIOLETS ENCAPSULATION CONCEPT?. Internally at binary code level?
c++
coding
development
friend
function
programming
0 Votos
2 Respuestas
27th Nov 2017, 7:20 AM
Bhushan Rane
I want a python program (use function ) in which first we check the odd even then return both value and then print
check
even
function
odd
program
python
return
then
value
-4 Votos
4 Respuestas
19th Dec 2017, 3:08 PM
Avinash Rawat
Here is an function to return the maximum value among three positive integers. There is an error in this function. Provide an in
answer
0 Votos
1 Respuesta
25th Sep 2019, 2:05 PM
Anirudh Putta
Can i define a FUNCTION in a class and If yes then how can i access on an object or it is not possible to define a function??
python
0 Votos
3 Respuestas
31st Mar 2017, 6:52 AM
PREETAM
How to append to a text file?
append
files
function
game
python
python3
quiz
read
write
2 Votos
4 Respuestas
7th Oct 2017, 7:03 PM
X-1
What's the point of having three types of loops cause the all have the same function and don't seem so different from each other
c++
switch
0 Votos
2 Respuestas
12th May 2017, 5:35 PM
Shammah
I want to ask how to write a method to stop if -else function running else part but can run if part thank you.
c#
0 Votos
2 Respuestas
18th Oct 2016, 2:43 PM
danny
In what case search function in binary search tree will have O(h + s) complexity, where h is the height and s is item returned?
algorithms
bst
complexity
0 Votos
1 Respuesta
11th Feb 2023, 10:27 PM
FERUZ
Can not find the problem. mainly when I giving the code inside "else if". It is not working.
<head>
<html>
<script>
a=document.getelementbyid("a").value;
document.getelementbyid("error").innerhtml="enter
function
if(n==""){
invalid=0;=document.getelementbyid("n").value;
val(){
var
0 Votos
6 Respuestas
8th Oct 2018, 9:50 AM
Paramita
Write a function that searches for a number in a list of number. Pass the list and number to be searched as arguments to the fun
!
1 Voto
1 Respuesta
29th Mar 2020, 3:37 PM
hafizakomal shaik
Experimenting with JS return statement... help [SOLVED]
attempt
function
js
math.floor
math.random
random
return
web
1 Voto
2 Respuestas
7th Aug 2020, 8:31 AM
Ginfio
Is It a Good Implementation of a BinarySearch Method in Java?
algorithm
binary
binarysearch
function
java
method
o(log-n)
search
1 Voto
1 Respuesta
11th Aug 2021, 8:18 AM
Yahel
Write a program with the function chkOdd() that takes one argument (a positive integer) and report if the argument is odd or not
function-arguments
python
-2 Votos
1 Respuesta
17th Nov 2020, 9:27 PM
Prerna Keshkar
Write a function to return a string that contains random numbers where the length must be equal to the value of the parameter.
functions
html
javascript
strings
1 Voto
1 Respuesta
14th Aug 2017, 3:22 AM
oneCaptain
Do you can do code on C, for function sqrt. This code must be very clever. Must be very fast for big numbers.
c
sqrt
-1 Voto
1 Respuesta
11th Oct 2019, 8:33 PM
Igor Rudkevich
currently I am learning django and I am used to function based view. Do you suggest me to switch to class based view?
django
djangorestframework
drf
restframework
views
0 Votos
0 Respuestas
24th Nov 2022, 2:49 AM
Pratik Dahal
want to Modify the displayBirthdate function to display a user’s age from the API call in getAUserProfile() in a DIV with a CSS
sololearn
0 Votos
1 Respuesta
9th Apr 2019, 6:27 PM
shadrach esharive
Write a function that have to copy one char array to other avoiding any not-letter symbols. Note. Your program have to use poin
c++
-3 Votos
1 Respuesta
16th Oct 2020, 1:06 PM
Nurlan
what is the difference between itertools takewhile method and filter.they exaclty function as same so why there are two of them in python
python
0 Votos
1 Respuesta
9th Jul 2016, 9:38 AM
jayrajarora2694
7. Write a JavaScript function that accepts a string as a parameter and counts the number of vowels within the string. Note :
functions
javascript
-1 Voto
2 Respuestas
18th Dec 2016, 9:23 PM
Nashwan Aziz
Why can't I get a user to be able to input 1 or 2 to select which function to use via class and object?
and
bad
coding
math
probably
0 Votos
2 Respuestas
19th Oct 2017, 3:01 AM
Patrick
why do we use the word "class" in defining a function template? is it related to classes really or is just a sample word?
c++
templates
0 Votos
2 Respuestas
1st Oct 2016, 1:17 PM
parisa
Isn't it that most of the function in new version of CSS so called CSS3 came from javascript? what are the improvement of javascript?
css
css3
javascript
0 Votos
2 Respuestas
1st Mar 2016, 1:52 PM
Hanthony Tagam
I had a doubt. Why in java all the lines even the main function need to be inside the class? Can anyone help me
java
0 Votos
2 Respuestas
16th Dec 2017, 2:21 AM
lokesh krishna
how can i call for a user input in swift?
error
function
if
input
ios
readline
swift
0 Votos
1 Respuesta
30th Sep 2019, 1:13 AM
Wardy Spirit
Someone who understands WordPress very well please...I need your contribution
css
function
functions
hooks
html
javascript
phone
web
wordpress
0 Votos
5 Respuestas
1st Mar 2018, 6:14 PM
Biko
Coding help for project idea
function
help
list
newtocoding
project
python
tuple
tutor
0 Votos
2 Respuestas
26th Apr 2020, 2:08 PM
Amy Lin
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
...
120
121
122
...
124
Siguiente >
En tendencia hoy
How to properly reverse a string in python
5 Votes
Using Python on VScode
2 Votes
Python Developer
0 Votes
hi my coding instor told me to make a calculator that find the average of two numbers can you pls tell me my erro
0 Votes
Hi guys I need some one to teach the String name how I can do it true because when I finish coding they give me NO OUTPUT
1 Votes
Wayss
0 Votes
fully dynamic arrays
1 Votes
Guys who tell me
0 Votes
Coding apps
0 Votes
Hearts
0 Votes