Kursy
Kursy
Kompilator kodu
Kompilator kodu
Dyskusja
Zespoły
Zaloguj się
Zarejestruj się
Menu
Dyskusje Q&A
Szukaj
Szukaj
Zadaj pytanie
Zadaj pytanie
2 kingdom are at war.kingdom 1 has N soldiers (no. As 1 to N) & war goes on for K days.each day only 1 solider can be select.
algorithm
are
at
c++
difficult
has
java
kingdoms
two
war
3 głosów
3 odpowiedzi
8th Mar 2017, 9:47 AM
priyanshi srivastava
why doesn't making line 4 " if i == 2 or 3:" cause the output to be 1 skipping 2 skipping 2 4 ... ?
loops
python
0 głosów
3 odpowiedzi
17th Aug 2016, 2:11 AM
Coleman Alexander
Why does my code give 2 outputs when it's supposed to be only 1 output
python
0 głosów
4 odpowiedzi
9th Jun 2021, 2:30 PM
Da GD Bot
why number 1 works as I need? why number 2 can't produce my desired result?
dropdown
javascript
menu
0 głosów
6 odpowiedzi
14th Jul 2018, 8:55 AM
Nayem
[SOLVED] How do I turn two variables like 1 and 2 into one variable 12.
concat
concatenation
int
solved
string
web
0 głosów
4 odpowiedzi
29th Jul 2020, 7:20 PM
bob
Checking why the output of a Java Switch statement is 2 lines instead of 1
java
switch-statement-out-of-order
1 Głos
4 odpowiedzi
26th Aug 2022, 2:43 PM
Iulia
How much javascript is enough?for a beginner 1 to 2 years experinced coder
code
javascript
0 głosów
1 Odpowiedź
24th Nov 2020, 4:34 PM
rawaha. pool
Fill in the blank with the output of this code. >>> 1 + 2 + 3 + 4.0 + 5
python
-10 głosów
20 odpowiedzi
7th Jan 2020, 10:34 PM
Excellence David Prezinaantok
Porque se le dan esos valores a value. De 1 y 2 en checkbox?
forms
0 głosów
3 odpowiedzi
4th Dec 2018, 12:04 PM
Emmanuel PM
int x = 3; while(x > 0) { System.out.println(x); x--; } /* Outputs 3 2 1 */
loops
1 Głos
2 odpowiedzi
6th Aug 2018, 11:49 AM
Saurabh Negi
Сколько раз надо повторить материал, чтобы полностью выучить Python?
1
2
3
5
2 głosów
5 odpowiedzi
26th Jun 2019, 7:10 PM
Phil
please help, 2 test case need to be true while 1 test case need to be false
codeproblem
phyton
1 Głos
4 odpowiedzi
16th Sep 2023, 12:45 AM
Bayu Setiawan
I think mine is Ok, the results are 2 1 and game over. Why is this still wrong?
python
python3
0 głosów
8 odpowiedzi
11th Feb 2021, 7:40 AM
Ratna13
why 737 is printed so many times ?input=2 2 a g 1 737 586
method
overloading
0 głosów
2 odpowiedzi
9th May 2018, 6:27 AM
Bahubali
In python I write . Line 1 answer(2) line 2 while answer(2) and then how can i do that it comes 'true'
python
-3 głosów
22 odpowiedzi
5th Jul 2020, 2:48 PM
Kir-Py
Which one is better start to learn Angular 1 or Angular 2 ?
javascript
0 głosów
2 odpowiedzi
1st May 2017, 3:25 AM
Roshan Bagde
What is the difference between the 2 syntax of code. Wich one is correct 1 or 2.
c
linkedlist
logic
syntax
0 głosów
7 odpowiedzi
27th Sep 2020, 3:34 PM
Amal Gil
Y si quiero poner el 1 o el 2 de la segunda lista?
lists
python
1 Głos
1 Odpowiedź
24th Nov 2016, 12:27 PM
Fydo Dido
Warning: mysqli_query() expects at least 2 parameters, 1 given in C:\wamp64\www\project\plusweb\pluspro_admin\config.php on line
2
at
expects
least
mysqli_query()
0 głosów
1 Odpowiedź
17th May 2020, 10:41 PM
Plusproy yousaf
Why we use return 0 not return 1 or return 2 or any thing else?
c++
0 głosów
2 odpowiedzi
27th Jun 2018, 4:18 PM
Parul Kashyap
Why x value 1 is used even though we have static x value as 2 in this code?
java
5 głosów
4 odpowiedzi
13th Mar 2022, 7:36 AM
alagammai uma
Which one is better for learning programming 1 pdf(programming books) 2 video tutorials 3 solo learn
c++
java
javascript
php
3 głosów
4 odpowiedzi
18th Jul 2017, 2:04 PM
Million Gashawbeza
x -= 1; // 2 x /= 2; // 3 x %= 2; // 1
operators
0 głosów
2 odpowiedzi
16th Nov 2018, 6:22 PM
Esra Gül Anlar
I cant understand this....> 1 != 1 False >>> "eleven" != "seven" True >>> 2 != 10 True.... with true of false
python3
1 Głos
2 odpowiedzi
31st Jan 2018, 8:44 PM
Reptilian Hermit
i need one java program This pattern 1 5 8 10 2 6 9 3 7 4
java
patttern
quick
solution
talent
1 Głos
5 odpowiedzi
14th May 2018, 1:55 AM
Sripragathiswar
can anyone tell me why the code below named 1 java 1 is not working properly... while the code named java 2 is working fine??
beginners
iostream
java
1 Głos
5 odpowiedzi
10th Dec 2017, 3:39 PM
SubbaReddy G
how can i write 1 times 1, 2 times 2 , 3 times 3 in page with for loop? for example (1223334444)
c#
c++
1 Głos
2 odpowiedzi
8th Sep 2017, 8:48 AM
Oğuz Güven
Please check this program,i only get 2 as output . question is to find prime numbers 1 to 100
1
100
c
for
prime
programming
to
1 Głos
8 odpowiedzi
27th Nov 2019, 12:40 PM
Raikamal Mukherjee
1 point for 2 run scored- what's the condition and loop will applied in this. See the code. Is this true?
code
loops
print
python3
runtime
3 głosów
14 odpowiedzi
30th Jan 2020, 3:34 PM
Utsav Singh
When put 2 lines it only draw 1 circle , but works only in two different svg tags, why?
html5
svg
14 głosów
2 odpowiedzi
22nd Dec 2017, 6:22 AM
Nilavarasan
What is the output of this program if the input: 1 2 3 4 -5 0 26?
java
0 głosów
4 odpowiedzi
21st Feb 2020, 1:45 AM
JOHANNA POLOABAD
Def a function and pass 2 lists.. Print true if both the list have at least 1 common element?
phython
2 głosów
6 odpowiedzi
26th Nov 2020, 8:42 AM
Mohammad Shireen
d = {k:v for k, v in ('a1', 'b2')} d['a1'] = 1 d['b2'] = 2 print(d) print(len(d))
confused
doubt
python
0 głosów
2 odpowiedzi
28th Aug 2021, 2:34 PM
Akash Yadav
How To Put a Trap Invalid Selection That limits Choices from 1 to 2
java
0 głosów
1 Odpowiedź
26th Nov 2018, 1:44 PM
Lorenze Saledain
there are eclipse mars 1 and mars 2 are available. which one should choose?
eclipse
java
0 głosów
1 Odpowiedź
31st Dec 2016, 12:06 PM
Mohit Jadhav
I am looking for a function that find A numbers in B range that sum to C Ex: B =5 A =3 C= 8 Output: 1 2 5 1 3 4
c++
python
python3
1 Głos
8 odpowiedzi
1st May 2021, 1:45 AM
Emad
Program that print 2 to the power of N when N goes from 1 to 100.
python3
2 głosów
2 odpowiedzi
8th Jun 2017, 3:44 PM
Talia Pacelli
When the programing is 1==(1 or 2) the output is true. But instead of 1 i gave 0, and 2 i gave 1 the output is false. Explain.
operator-precedence
python3
scripting-languages
2 głosów
3 odpowiedzi
2nd Sep 2019, 3:42 PM
HEMANT KRISHNAN
Using return 0 or 1 or 2 to close main function giving same result why?
c++
2 głosów
1 Odpowiedź
27th Oct 2017, 2:48 AM
Shubham Sharma
What is wrong with this code please:n = 100 i = 1 while i <= n: if i % 2 == 0: continue print(i) i+=1
christian
huml
2 głosów
15 odpowiedzi
13th Mar 2022, 1:56 PM
Lean R1
Write a python program to compute the sum 1 − 2 + 3 − 4 + ··· + 1999 − 2000.
loops
range
1 Głos
7 odpowiedzi
4th Jun 2022, 6:00 PM
agboola zainab
I need help again pls. Switch Statement 1 -1stYear 2 -2ndYear 3 -3rdYear 4 -4thYear ----- Example: Enter Num:2 2ndYear
c++
1 Głos
11 odpowiedzi
10th Mar 2019, 11:43 PM
Rhea May Abay
Why is 1 or 0 when i put x%=2 and my variable x i set 2 or another pair number
python
python3
1 Głos
5 odpowiedzi
3rd May 2020, 6:21 AM
Deysi Lucero Puscan Remon
C language pattern solving 1 2 0 2 3 0 0 0 3 4 0 0 0 0 0 4 5 0 0 0 0 0 0 0 5
modification
needed
0 głosów
5 odpowiedzi
8th Jul 2020, 8:50 AM
Suman Singh
I had posted this question earlier and now only 1 answer out of 2 is appearing. Why?
answers
invisble
posts
sololearn
1 Głos
2 odpowiedzi
7th Nov 2018, 10:34 AM
B.D
Why we used return 0 in c we can't use return 1 or return 2 or return 3
no
0 głosów
3 odpowiedzi
2nd Jul 2019, 10:06 AM
Vemana Srinivasulu
how to code for g.c.d of 2 numbers? like g.c.d of 12 and 67 is 1
python
tuples
1 Głos
2 odpowiedzi
20th Sep 2016, 10:16 AM
AKHILESH VVN
How to learn full stack web development in a short time? 1 or 2 months
application
full-stack
website
0 głosów
1 Odpowiedź
9th Jul 2019, 6:25 AM
Vikneshwara R B
how to count number of 1's in column 1 and column 2 in a single row
sql
1 Głos
2 odpowiedzi
24th Oct 2016, 7:41 PM
yamnoor hiragannawar
How to create 1 2 4 7 11 16 22 ...... <=100 pattern in python only using while repetition
loops
python
while
0 głosów
3 odpowiedzi
15th Jun 2022, 1:56 PM
NINJA YT
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
< Do tyłu
1
2
3
4
...
6
Dalej >
Popularne dzisiaj
X velocity
2 Votes
And... Who is the staff then?
3 Votes
Files not linking in C++
0 Votes
I am a super beginner
0 Votes
Web Dev
1 Votes
I want to make a triangle area calculator ,anybody can teach me
2 Votes
Img & web server or personal info
0 Votes
Pls give me an idea
1 Votes
Why Pro?
1 Votes
How to achieve "Sololearner" achievement?
0 Votes