Thread has been deleted
Last comment
Programmers come
Tense | 
Mexico Biggest_Bigg_Fan 
I know its an easy task but I've been absent to most lectures and I have no idea where to go with this task: imgur.com/a/UcHxHgu If you could explain what to do for it to work I would be very thankful and give you skin))
2021-11-23 22:38
Topics are hidden when running Sport mode.
Sorry, me no progrmator me translator in company
2021-11-23 22:39
9 replies
ok but thats not what I asked for
2021-11-23 22:40
2 replies
Uhhh I kinda don't care
2021-11-23 22:40
1 reply
Chad
2021-11-25 11:54
sorry, me no programmer me pro gamer
2021-11-23 22:59
5 replies
wtf are you my refrigerator??? Why are you leaking, suck up that liquid back, bitch
2021-11-23 23:02
4 replies
maybe if u stopped filling me with these questionable substances tf would u do in my position
2021-11-23 23:06
3 replies
Since when is storing 3 kidneys questionable????
2021-11-23 23:07
2 replies
i didnt mean that, i meant the 15 liters of fucking monster energy shits nasty man
2021-11-23 23:18
1 reply
Nasty? I am going to show you what's nasty
2021-11-23 23:42
#3
 | 
Poland Hanse
This task is plain retarded, you can tell it to your teacher
2021-11-23 22:42
4 replies
#7
 | 
Czech Republic T18^
+1 It's insanely retarded
2021-11-23 22:41
I need to send it due to midnight it's not funny
2021-11-23 22:44
#18
ropz | 
Netherlands Dvid
+1 its dumb as hell and not clear at all wtf everything should be
2021-11-23 22:53
+1 never go full retard
2021-11-23 23:31
hmm
2021-11-23 22:40
I'm so glad I chose another direction in my education. Fuck C# and Python. Get out while you can
2021-11-23 22:40
17 replies
I mean I will only study it for a year then I'll probably change the direction
2021-11-23 22:42
#14
 | 
Austria Ostmark
it's good tho
2021-11-23 22:48
#21
 | 
United Kingdom JupiterACE
Python is good, YOU are unemployable
2021-11-23 22:57
8 replies
Network and cyber security 10x more interesting in my eyes ;-)
2021-11-23 23:09
7 replies
And it pays better too.
2021-11-23 23:37
6 replies
#79
 | 
Bangladesh Santho
It doesn't
2021-11-23 23:55
5 replies
Cyber security certainly pays more in Germany at least. In many companies (mine included) network engineers also earn more than our developers. With rising security standards in the last few years salaries for security experts have skyrocketed.
2021-11-24 12:49
3 replies
#88
 | 
Bangladesh Santho
Maybe that's true I don't live in Germany so idk but what's funny is that guy said 'fuck Python' when it's widely used in cyber security
2021-11-24 12:51
2 replies
Yes, fuck python. I'd rather script in bash. I can do both, but that doesn't mean I enjoy it.
2021-11-24 13:13
neither of these guys know what they're talking about
2021-11-24 13:14
Ha ha - it does.
2021-11-24 13:12
it's java or c#?
2021-11-23 23:01
1 reply
Even worse, java wth
2021-11-23 23:08
+1
2021-11-23 23:12
#82
 | 
Bangladesh Santho
First of all thats Java. Second both C# and Python are cool languages and very versatile (I use C# and you can use it in ASP.NET to create web apps, you can use it in .ML NET to develop AI however its not popular and worse than python tensor flow for example, you can use it in Unity 2D/3D to develop games, you can use it to develop mobile applications - MAUI coming soon, way better than Xamarin)
2021-11-23 23:57
2 replies
Yeah - and?
2021-11-24 13:11
#96
 | 
Europe hltvmens
i never understood why would anyone want to use C# to make web sites..
2021-11-24 13:31
You pretty much got the description of what to do in the text. Read it again, break it down to elements and you'll see.
2021-11-23 22:47
3 replies
Mate I've been studying for 2 months and been absent for half of the lectures I had due to work I'm trying but I just don't see a solution
2021-11-23 22:50
2 replies
reddit is your friend
2021-11-23 22:56
1 reply
#22
OK | 
Australia B0OMER
stackoverflow*
2021-11-23 22:58
Ask your mate he will help
2021-11-23 22:48
#12
 | 
Czech Republic T18^
Doesnt that code on the second picture work ?
2021-11-23 22:48
4 replies
it can't resolve the arrays
2021-11-23 22:48
3 replies
#17
 | 
Czech Republic T18^
Try parsing the integers
2021-11-23 22:53
2 replies
I tried but it doesn't change the inability to resolve arrays
2021-11-23 23:02
1 reply
#33
 | 
Czech Republic T18^
Which line throws the error ? If its the ".toArray();" one then try to remove it and print the customers that should give you some idea of how the input is looking
2021-11-23 23:06
#15
 | 
Germany imTD
Your question has already been answered on Stack Overflow, this is the link: ru.stackoverflow.com/q/1054219 Anyways is exact the same answer that you have on your code, so I think it should be working. If not please paste the exact error. Hope it helps, and if you are Mexican let me know and I can help in Spanish directly.
2021-11-23 22:49
13 replies
Yet the site staff would prefer for either of you to observe the 'English Only' rule when it comes to submitting comments to the public sections of the site. Thank you in advance.
2021-11-23 22:56
7 replies
#24
OK | 
Australia B0OMER
WeirdChamp
2021-11-23 22:59
#26
 | 
United Kingdom JupiterACE
Based Jonny E., keeping things old school.
2021-11-23 23:00
#39
 | 
Germany imTD
Sorry mate : ( Not going to happen again
2021-11-23 23:08
:sumW:
2021-11-23 23:11
L comment
2021-11-24 13:17
Honestly meaninglessness reply. He was clearly looking for a solution and not explanation
2021-11-25 11:56
1 reply
The user, who as far as I understand it realized his/her mistake (see #39), offered him/herself to help the OP in Spanish which is against the 'English Only' rule. Therefore, no, my reply is not meaningless but actually a helpful reminder with regard to that rule.
2021-11-25 15:54
exception in thread "main" java.lang.Error: Unresolved compilation problems:Arrays cannot be resolvedArrays cannot be resolved
2021-11-23 22:59
4 replies
Do you have any imports defined? The exact solution in that stackoverlow thread did the trick for me. Imports I had defined: import java.util.*; import java.util.stream.*;
2021-11-23 23:05
3 replies
#34
 | 
Czech Republic T18^
+1 this will fix it he has no imports defined
2021-11-23 23:07
oh that's what I was missing, thank you for that, anyways I will have to catch up with the material
2021-11-23 23:08
#43
 | 
Germany imTD
+1
2021-11-23 23:09
bro this task is so retarded, I can't even understand it what does {100, -50 25} mean and why next values are {150, -300}?
2021-11-23 23:07
10 replies
#47
ropz | 
Netherlands Dvid
after reading it 100000 times i understand now. you need to add all the numbers in the same row and print them, for each line.
2021-11-23 23:10
2 replies
#49
 | 
Czech Republic T18^
Same here man :D You need like fucking 500 IQ to understand it right from the start
2021-11-23 23:11
1 reply
I understood it the first time, but I then saw that it was Java and said, nope. Come back to me when you get a C# assignment.
2021-11-24 13:24
#48
 | 
Czech Republic T18^
It took me a while as well. Every row is for 1 person and every array in that row is 1 account of the person and those numbers are transactions made on that account.
2021-11-23 23:10
3 replies
Okay, so [0][1][2] will be 3rd transaction made by 1st customer on his 2nd account and so on? Damn using arrays is so unintuitive Just use objects and make it way easier
2021-11-23 23:17
2 replies
#59
 | 
Czech Republic T18^
Yep exactly. Yes, I fkin love objects :D They're so powerful. Guys using Arrays as "main" data structure are psychos
2021-11-23 23:21
1 reply
I guess that teacher teach C too and never heard of objects or is scared to use them :D
2021-11-23 23:22
#51
 | 
United States qoietsammy
+1 literally in programming 2 for java and idk wtf any of this is
2021-11-23 23:11
First you get the customers (first index / dimension) then all of the accounts by those customers (second index / dimension) then all of the deposits + withdrawals on every account (third index / dimension) They're represent an array of withdrawals or deposits on one of one customers account, which of there are multiple. These accounts just don't happen to have the same amount of withdrawals or deposits.
2021-11-23 23:21
1 reply
I got it now Thanks mate
2021-11-23 23:22
Of course it doesn't work, you put println outside the Main method
2021-11-23 23:08
6 replies
it works now after adding imports :D
2021-11-23 23:09
2 replies
and if your teacher hasn't gone through stream/vector/array iterator concept yet, but just straight forward for/while loops (nested and non-nested) then he will give you VAC ban for cheating because it is obvious you copied the stream iterator code from somewhere :-)
2021-11-23 23:22
1 reply
I mean I saw these imports before but I had no idea they resolve arrays
2021-11-23 23:25
No he didn't
2021-11-23 23:37
2 replies
? check again lol
2021-11-23 23:37
1 reply
2021-11-23 23:40
bro are you using vscode? use some java IDE like IntelliJ or Eclipse way better than vscode
2021-11-23 23:09
#44
ropz | 
Netherlands Dvid
dude this can litterally be done with just 3 for loops...
2021-11-23 23:09
wtf is this task lmao
2021-11-23 23:10
tell your teacher this is a horrible data structure for the "business case" (imagine if one customer has 15 accounts, but all other 1000 customers have only 1 account. Looooots of unnecessary data slots in this 3-dim array). Instead, program customer and bankAccount objects and make a linked vector out of those and then create a vector of transactions. A+ from the test for sure if you follow this A-strat. But, if you want to do the B-strat with this 3-dim array then make a nested for loops to calculate the balance per customer and per account and then sum those as total balance for a customer. As a hint I can tell you that the example shows - 3 customers: Customer1 has 3 accounts, Customer2 has 2 accounts, Customer3 has 4 accounts - Transactions have +/- values per customer and per account. This is how the total of all accounts for the Customer1 is $235, for Customer2 $500 and for Customer3 $310 And remember if an array declaration and initialization doesn't define a value for certain cell in this 3-dim array then modern compilers these days initialize the missing slot as 0 value (default constructor of int is 0) when the variable is initialized at the same time with a declaration.
2021-11-23 23:12
9 replies
#54
 | 
Czech Republic T18^
+1 But this is just an example to get it going. Remember the programmer who is able to teach real world stuff to student is never going to be teacher for 10x less money
2021-11-23 23:12
1 reply
+1 indeed I forgot that fact of life
2021-11-23 23:13
yeah this I have never ever seen a 3 dimensionnal array like why would you do that something only professional mental masturbators like university teachers can come up with
2021-11-23 23:23
4 replies
#69
 | 
Czech Republic T18^
I actually use 3D arrays quite a lot in algorithms
2021-11-23 23:34
2 replies
Why not an array of a Vector3D object?
2021-11-24 13:30
1 reply
#99
 | 
Czech Republic T18^
Because indexing the array by coordinate is much more lightweight then finding the right Vectors
2021-11-24 15:10
I’m currently using 3D-matrices to make time series from 2D table data at work, each index could be viewed as a 3D array
2021-11-23 23:49
It's not meant to be a realistic case, it's meant to help the student practice 3d arrays and problem solving skills. It's always like this in uni, bullshit task descriptions that make you practice something specific
2021-11-23 23:35
#83
 | 
Canada meowington
yea bro, tell the guy that he should be implementing a linked list structure when he probably hasn't even seen a for loop before
2021-11-24 00:09
#58
 | 
Canada Unravel
Here, did an implementation because I'm a bit bored imgur.com/a/ZypZv7O I encourage you to try it out on your own tho
2021-11-23 23:18
2 replies
It works too, I changed my code to yours because I didn't have stream imports yet I think
2021-11-23 23:36
1 reply
So are you all set with your question now?
2021-11-23 23:56
#65
 | 
Europe FallY
3 for cycles
2021-11-23 23:22
#66
 | 
Chile esanchez47
The answer is 23, and my second guess is "chicken wings".
2021-11-23 23:23
I get sick from even looking at it LMAO IT High School was a torture for me. Choosing it was a bad idea, but I passed everything somehow LUL
2021-11-23 23:35
#80
 | 
Canada meowington
Is this sample code given and you're trying to debug it? If not, the teacher definitely knows you copied and pasted this given the simplicity of the task.
2021-11-23 23:55
Programmers are the easiest people to get to do free work for you, because they all want to prove how smart they are. Look at them go!
2021-11-24 00:11
#85
 | 
United Kingdom ChuMatrix
I'm sorry bro too tired. Computer science students be like: Beep boop, 100k salary
2021-11-24 00:15
print('Hello World') Hope this helps, bye
2021-11-24 00:23
programmer? i am only pro gamer
2021-11-24 13:34
I only can write Hello World in Python. So you should write Hello World too.
2021-11-24 13:44
3 replies
its not python
2021-11-24 15:17
2 replies
make it python then
2021-11-24 16:25
1 reply
Would be too easy?🤔
2021-11-25 08:07
#100
 | 
Germany Turbo_CS
Imagine going in IT field, you have to be a big nerd and anti social
2021-11-24 15:15
10 replies
You would be surprised
2021-11-25 08:07
7 replies
#105
 | 
Germany Turbo_CS
No, not really
2021-11-25 11:15
6 replies
about people not being that going into the field
2021-11-25 11:51
5 replies
#112
 | 
Germany Turbo_CS
I deal with programmers daily and trust me they’re the most awkward people I met, lol.
2021-11-25 12:08
4 replies
oh i guess but here in college its a whole bunch of people, just people who dont know what to do so they go there
2021-11-25 12:12
3 replies
#114
 | 
Germany Turbo_CS
Yeah this is a reality of programmers. They are not that smart as they seem. I’m a senior product manager and my task is to improve phone app for our food delivery company so I work with them daily and think about what we can improve and they can barely do a simple task without fucking up like putting button and delivery time on the right side and not in the middle
2021-11-25 12:19
2 replies
hahe they are also just people) its like knowing a different language, but just a weird one
2021-11-25 12:21
#124
 | 
Canada Unravel
Why don't you do it then big boy
2021-11-26 21:18
LOL. I've worked in IT for 15 years, times change bro. Todays IT is high paying individuals, the hottest chicks and very slick looking men that make alot of money. Of course theres the average startup that consists of pure nerds that drink Jolt 24/7 and code the next Bitcoin but even then these guys make so much money in the end that they end up with models. People today study for alot of years to make it in this sector as thats where most of the future jobs will be and the pay will always be really good.
2021-11-25 12:43
1 reply
#121
 | 
Germany Turbo_CS
And guess who will make decisions? Right, it’s us managers.
2021-11-25 12:54
#106
 | 
Bosnia and Herzegovina Biske
If you know binary search ez peasy without that its fucking retarded code not gonna lie
2021-11-25 11:20
i am programmer and wtf is this question???
2021-11-25 11:57
gimme me skin, i can do it. xD.
2021-11-25 12:01
where did you learn programming btww=
2021-11-25 12:22
#119
 | 
Norway CheNaLii
Yo guys. Considering becoming a data analyst/scientist. Would you guys recommend?
2021-11-25 12:36
#122
 | 
North America Phyxda
How to do it the normal way imgur.com/GfUcgnw
2021-11-25 13:39
Login or register to add your comment to the discussion.