Kursy
Kursy
Kompilator kodu
Kompilator kodu
Dyskusja
Zespoły
Zaloguj się
Zarejestruj się
Menu
Dyskusje Q&A
Szukaj
Szukaj
Zadaj pytanie
Zadaj pytanie
what should be the value of i to the power i where i=square root of -1
numeric-operations
python
0 głosów
3 odpowiedzi
9th Mar 2018, 10:44 AM
Girish Vaisyaraj
Why in list (in python 3) to access the last element of a list, you use -1 and not -0?
indexers
lists
python
python3
1 Głos
4 odpowiedzi
15th May 2018, 6:39 PM
Eduardo Perez Regin
What i should count to last word in the string if i counting from last , -1 , -0 or 1.
javascript
js
2 głosów
2 odpowiedzi
20th Apr 2019, 4:24 AM
Bug Slayer
You are given a non-empty sequence of non-negative integers terminated by a -1. The -1 is not part of the input sequence.
loops
0 głosów
1 Odpowiedź
25th Sep 2019, 3:34 PM
Kartik Singh
find the minimum number of swaps required to make a string as symmetry string.if already then print 'symmetric'if not possibl -1
coding
palindrome
python
strings
symmetric
0 głosów
3 odpowiedzi
5th May 2021, 6:50 PM
Amrita Kanchan Singh
Write a program to read the numbers until -1 is encountered. Also count the negative, positives, and zeroes entered by the user.
python3
0 głosów
1 Odpowiedź
10th May 2022, 3:19 PM
Vijay saxena
write aprogram that calculates average mark of female students in class assume that the last valu read is Sentinel -1 from mark
c
programming
1 Głos
1 Odpowiedź
25th May 2019, 1:51 PM
seraj aldean
You will be given two words, 's' and 't'. You have to output the number of matching positions if s is an anagram of t, and -1 if
anagram
strings
1 Głos
9 odpowiedzi
8th Oct 2018, 9:57 AM
Nilutpol Kashyap
Need help or explanation.. are postfix and prefix in c++, c#, php or any language same ? when actually the value +1 or -1 ?
c#
c++
etc
java
math
php
postfix
prefix
0 głosów
6 odpowiedzi
26th May 2017, 1:58 AM
Mugfirfauzy Siregar
Write a code using do while loop to read the numbers until -1 and also count the +ve, -ve & 0's encountered by the users
c
code
cprogram
programming
-1 Głos
2 odpowiedzi
14th Apr 2020, 3:12 PM
Shaik Vajida
Upon having the input as sin(x)=1 or -1 or related values the order in the list isn't proper any more, try it.
math
python3
1 Głos
2 odpowiedzi
29th May 2017, 9:44 PM
Simon
Get n list and compare the values inside if the numbers are same then you have to count 1 if not then return -1
c
java
python3
0 głosów
2 odpowiedzi
24th Aug 2022, 1:21 PM
pooja balamurugan
What is the Method most efficiency to find in mat n*n (just ziro and one ) if exsist row thwn just ziro and colom just -1 ?
java
1 Głos
5 odpowiedzi
8th May 2017, 12:26 PM
yossi Nahmias
program in c++ to compare two strings and return 0 if the two strings are equal and -1 is strings are unequal
c++
help
0 głosów
2 odpowiedzi
23rd Jan 2018, 3:56 PM
Raj Zamal
You will be given two words, 's' and 't'. You have to output the number of matching positions if s is an anagram of t, and -1 if
anagram
strings
2 głosów
3 odpowiedzi
8th Oct 2018, 9:52 AM
Nilutpol Kashyap
write a function named nval that take 2 integer argument and return 1 if they have same number of factors. retur -1 if is negtif
me
0 głosów
2 odpowiedzi
22nd Jun 2019, 11:23 AM
Sifa Ngelelo
In the code I've used array splice method, why it only removes one item ? As I've used -1 as index and 3 as remove count. Help!
arrays
javascript
splice
1 Głos
2 odpowiedzi
22nd Jan 2020, 12:32 PM
Argon
l want to program code that compare two values x and y , return 1 if x is greater than y else return 0 if x is equal to y or else return -1 if x less than y . Then program must accept user input
function-arguments
python
0 głosów
6 odpowiedzi
13th Oct 2016, 8:20 AM
James T Togara
Can someone write a Python program which returns the longer of the shortest way between two points(for ex. fixed A and B) if there is a way exists between points and if there s no way between those 2 points the function returns -1
python
2 głosów
4 odpowiedzi
21st May 2017, 10:21 PM
Ali
why the answer of this code is [0, 1, 4, 9, 16, 25, 36, 49, 64] and not [0, 1, 4, 9, 16, 25, 36, 49, 64, 81] and iam remember that -1 starts from the last no. in the list , then why the answer is not include 81????
lists
python
0 głosów
3 odpowiedzi
4th Aug 2016, 5:31 PM
Ahmed Kamal
Method in python
-1
<
>
1:
def
function
h(x):
if
maximize
or
x
x
y
0 głosów
2 odpowiedzi
15th Mar 2020, 4:22 PM
Njood Jasser
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
< Do tyłu
1
2
Dalej >
Popularne dzisiaj
Someone can help me
2 Votes
X velocity
0 Votes
Files not linking in C++
0 Votes
I am a super beginner
0 Votes
I want to make a triangle area calculator ,anybody can teach me
2 Votes
Web Dev
0 Votes
Img & web server or personal info
0 Votes
Pls give me an idea
1 Votes
How this program executes?
0 Votes
How to achieve "Sololearner" achievement?
0 Votes