Promotion
CodeGym University
Learning
Courses
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Help with tasks
Reviews
About us
Start
Start learning
Start learning now
All questions
Ask a question
All quests
All levels
Any status
Questions about tasks
Hot
AlfredW
Level 23
Denver
Question about the task
Symbol frequency
Java Core
,
Level 8
,
Lesson 11
Resolved
Works perfectly when I test it, but it times out every time I try to verify it.
I have tested it with a variety of input files and it works perfectly. Every time I try to verify it it times out.
03.10.2020
365
views
5
comments
0
Wei Cui
Level 39
Newark
Question about the task
Unzipping a file
Java Collections
,
Level 1
,
Lesson 10
Under discussion
Thanks for share hints and finally completed this task
Could some one explain Collections.enumeration public static void main(String[] args) throws IOException { String resultFile = args[0]; List zipFiles = new ArrayList<>(); for (int i = 1; i < args.length; i++) { String FilePath = args[i]; zip
19.03.2020
1043
views
1
comment
2
Michał Pietrus
Level 33
Krakow
Question about the task
2048 (Part 11/18)
Games
,
Level 0
,
Lesson 2
Resolved
Help please
Help please im kinda stuck here :c
23.04.2020
1129
views
2
comments
0
Noah Keller
Level 15
Offenburg
Question about the task
2048 (Part 11/18)
Games
,
Level 0
,
Lesson 2
Resolved
Why isnt it verifying ? :C
Pls help...
28.08.2020
503
views
3
comments
0
Inderdeep Singh
Level 1
Toronto
Question about the task
2048 (Part 10/18)
Games
,
Level 0
,
Lesson 2
Under discussion
can someone help me with the moveLeft method
hgighvug
21.04.2020
1117
views
1
comment
0
Шарох
Level 12
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Help me
I hate mathematics :/
02.10.2020
383
views
2
comments
0
Lawson
Level 29
Lagos
Question about the task
Refactoring (part 5)
Java Multithreading
,
Level 5
,
Lesson 16
Resolved
Pls help
help with the print data method pls
03.10.2020
414
views
0
comments
0
John
Level 27
Washington DC
Question about the task
Refactoring (part 5)
Java Multithreading
,
Level 5
,
Lesson 16
Under discussion
Why isn't this validating?
Why isn't this validating?
17.03.2020
987
views
2
comments
0
sergio
Level 7
Colorado
Question about the task
You can't have too much of a good thing
Java Syntax
,
Level 4
,
Lesson 10
Resolved
not sure what i am doing wrong
i dont know what i am missing. please help
02.10.2020
652
views
4
comments
0
Yusuf
Level 3
Bradford
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
I don't know what I have done wrong.
It says that my min method does not return to the minimum a, b and c. Please Help.
02.10.2020
627
views
3
comments
0
Lex Icon
Level 17
Sofia
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Resolved
My program does work perfectly, although the task isn't being completed.
I've checked the program execution on Eclipse and it works perfectly. wherein have I done wrong? TY
30.09.2020
552
views
2
comments
0
Arjun Kiruthivasan
Level 14
Chennai
Question about the task
A scary fairy tale
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
i cant understand??
pls someone explain this how to ate little? how to kill wolf?
24.09.2018
2606
views
12
comments
1
Russell
Level 9
Galmpton, Brixham
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Hey there, I seem to be missing something.
it seems to be getting caught in an infinate loop whenever i try to run it. i've missed an essential logic statement somewhere im sure of it, but i cannot seem to work out where it is. Possibly my brain is melting. Is anyone able to help please? Much appreciated!
17.09.2020
575
views
3
comments
0
Liliane Top
Level 17
Amsterdam
Question about the task
Take your turn!
Java Core
,
Level 6
,
Lesson 13
Under discussion
Two questions which I do not know how to solve
1) How to print the result Array as it has to be non-static. Otherwise it keeps adding the same lines twice 2) How to show that the reading is sequential and not parallel?
04.05.2020
980
views
5
comments
0
Mikayla Pace
Level 27
Salt Lake City
Question about the task
Request parser
Java Core
,
Level 5
,
Lesson 12
Resolved
Output is correct, not exactly sure what they want
I get the output they ask for when passing in the examples URLs, but it won't verify
08.10.2019
1788
views
9
comments
0
Jiří Ćmiel
Level 10
Olomouc
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Not passing list2 test.
Hi guys, for some reason I can't pass condition for filling all numbers to list2 (x % 2 == 0). It seems I miss last number (150) in the list. Can anyone see why? Thanks.
02.10.2020
622
views
2
comments
0
Chris
Level 19
Newark
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Can someone help me
I have no idea how to complete this without cheating. Can someone give me clues or walkthroughs? I am very frustrated.
02.10.2020
521
views
1
comment
0
Kasia
Level 22
Zabrze
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Help with sorting the code problem
The output is correct but it doesn't pass the last verification statement (The min(a, b, c, d) method must return the minimum of the numbers a, b, c, and d.) Any help appreciate (and apologies for not presenting the code in my first attempt to ask for help:))
01.10.2020
582
views
4
comments
0
sergio
Level 7
Colorado
Question about the task
Labels and numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
im lost please help
im lost....
01.10.2020
605
views
4
comments
0
Craig
Level 8
Naperville
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Can someone help me make sense of why this is failing?
thanks
01.10.2020
450
views
2
comments
0
AlfredW
Level 23
Denver
Question about the task
Two in one
Java Core
,
Level 8
,
Lesson 11
Under discussion
This is working perfectly, but it won't verify.
I don't understand why this won't verify. I have tested it and it works perfectly. Here are the files created. As you can see the second and third files are added to the first. So I don't understand the messages in the verification.
01.10.2020
417
views
2
comments
0
WIDMO
Level 25
Gdańsk
Question about the task
Number algorithms
Java Core
,
Level 10
,
Lesson 10
Under discussion
HELP please.
I tried 0/1 at the beginning, I also used something like this: public static ArrayList<Long> list; if (N>1) list.add(1l); if (N>2) list.add(2l); if (N>3) list.add(3l); if (N>4) list.add(4l); if (N>5) list.add(5l); if (N>6) lis
15.08.2020
706
views
5
comments
0
Arko Sarkar
Level 8
Mumbai
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Where is the problem in my code?
Getting errors for showing middle and two of three equal requirements!
26.08.2018
1862
views
9
comments
0
Tom ford
Level 15
Question about the task
Greater than 10? You're not a good fit for us
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Last check not passing
Help
29.09.2020
532
views
2
comments
0
Pablo Souza
Level 22
Brisbane
Question about the task
Faster together? We'll see :)
Java Core
,
Level 7
,
Lesson 2
Under discussion
Can't quite understand
Could anyone please explain what's going on in this program? I don't understand what it's supposed to help us visualise. When I run the program, I don't understand why it's flagging false when results is identical to expected results (I decreased the size of the array to 50 so I could make sure that
28.04.2020
864
views
2
comments
1
Yuliya Samsonava
Level 3
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
illegal start of expression line 21, position 358
package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { // int m; if (f <= c && a <= d) { m = f; } else if (c <= f && c <
23.09.2020
713
views
5
comments
0
Шарох
Level 12
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Hello coders!
what's the problem with my code?
28.09.2020
800
views
4
comments
0
David
Level 26
Bucharest
Question about the task
Refactoring Rectangle
Java Multithreading
,
Level 4
,
Lesson 4
Resolved
Why??
First I have tried this and didn't work: public HasWidth castToHasWidth() { class Inneer implements HasWidth{ @Override public double getWidth() { return Math.abs(point1.getX() - point2.getX()); } }
30.09.2020
564
views
2
comments
0
Tamas Horcsak
Level 18
Leeds
Question about the task
ConsoleReader class
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
I could do this task but my question is: I thought normally we need to invoke the Scanner once in the main method but didn't work and then I tried in the first line of ConsolReader class but didnt work. I thought once we imported the Scanner class it is reachable anywhere within the package. So not
package com.codegym.task.task06.task0610; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class ConsoleReader { //Scanner sc = new Scanner(System.in); public static String readString() throws Exception { Scanner sc = new Scanner(System.
01.10.2020
544
views
1
comment
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Creating threads recursively
Java Core
,
Level 6
,
Lesson 13
Under discussion
What is wrong in my code?
output: 1 created 2 created 3 created 5 created 7 created 4 created 10 created 12 created 14 created 8 created 6 created 15 created 13 created 11 created 9 created
28.02.2019
1984
views
6
comments
0
Show more
1
...
129
130
131
132
133
...
372
Please enable JavaScript to continue using this application.