Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
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 голосов
3 ответов
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 голосов
3 ответов
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 голосов
4 ответов
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 голосов
6 ответов
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 голосов
4 ответов
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 голос
4 ответов
26th Aug 2022, 2:43 PM
Iulia
How much javascript is enough?for a beginner 1 to 2 years experinced coder
code
javascript
0 голосов
1 ответ
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 голосов
20 ответов
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 голосов
3 ответов
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 голос
2 ответов
6th Aug 2018, 11:49 AM
Saurabh Negi
Сколько раз надо повторить материал, чтобы полностью выучить Python?
1
2
3
5
2 голосов
5 ответов
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 голос
4 ответов
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 голосов
8 ответов
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 голосов
2 ответов
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 голосов
22 ответов
5th Jul 2020, 2:48 PM
Kir-Py
Which one is better start to learn Angular 1 or Angular 2 ?
javascript
0 голосов
2 ответов
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 голосов
7 ответов
27th Sep 2020, 3:34 PM
Amal Gil
Y si quiero poner el 1 o el 2 de la segunda lista?
lists
python
1 голос
1 ответ
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 голосов
1 ответ
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 голосов
2 ответов
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 голосов
4 ответов
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 голосов
4 ответов
18th Jul 2017, 2:04 PM
Million Gashawbeza
x -= 1; // 2 x /= 2; // 3 x %= 2; // 1
operators
0 голосов
2 ответов
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 голос
2 ответов
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 голос
5 ответов
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 голос
5 ответов
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 голос
2 ответов
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 голос
8 ответов
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 голосов
14 ответов
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 голосов
2 ответов
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 голосов
4 ответов
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 голосов
6 ответов
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 голосов
2 ответов
28th Aug 2021, 2:34 PM
Akash Yadav
How To Put a Trap Invalid Selection That limits Choices from 1 to 2
java
0 голосов
1 ответ
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 голосов
1 ответ
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 голос
8 ответов
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 голосов
2 ответов
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 голосов
3 ответов
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 голосов
1 ответ
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 голосов
15 ответов
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 голос
7 ответов
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 голос
11 ответов
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 голос
5 ответов
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 голосов
5 ответов
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 голос
2 ответов
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 голосов
3 ответов
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 голос
2 ответов
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 голосов
1 ответ
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 голос
2 ответов
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 голосов
3 ответов
15th Jun 2022, 1:56 PM
NINJA YT
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
< Предыдущий
1
2
3
4
...
6
Следующий >
Актуальное сегодня
What's wrong with this code ? ( Beginner)
3 Votes
Pig Latin
0 Votes
Someone can help me
0 Votes
Please rate my code from 1 to 10
2 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Currently learning C++, I’m getting into socket programming with C++
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
Uuu
2 Votes
I’m new someone can help me
0 Votes