Thread has been deleted
Last comment
hltv programmers come
smooya | 
England Biggest_Bigg_Fan someone explain me this ples
2021-12-01 00:52
Topics are hidden when running Sport mode.
Czech Republic y0fl0w
just swap rows with columns?!
2021-12-01 00:55
By "explain" you mean do your homework for you?
2021-12-01 00:55
Czech Republic T18^
Thats him again
2021-12-01 00:57
1 reply
Ukraine smakolyk
2021-12-01 01:01
just do the matrix transpose...
2021-12-01 01:00
IMAGE: Explanation: Lets take 2D array with name temp. To get the number of rows in temp, you do temp.length. To get the number of columns in temp, you do temp[0].length, as it will get you the length of the 1st array in the matrix. Now you have the #of rows and columns in the original array, the ending array, which we'll call final, you need to swap the columns and rows to get the trans(transposition) of the original 2D array. This is done in the nested for-loop. Maybe a bad explanation, let me know if there's something unclear and I'll rephrase it.
2021-12-01 01:42
What partdo you not get?
2021-12-01 01:53
I html programmer
2021-12-01 01:59
1 reply
Chto blyat?
2021-12-01 03:18
congrats boys you have a solid job and living. for the rest of us were fucking screwed! COMP SCI OR YOURE DOOMED BROS
2021-12-01 02:01
pieces = [[1, 2, 3, 4, 5, 6], [1, 2, 3, 4, 5, 6], [1, 2, 3, 4, 5, 6], [1, 2, 3, 4, 5, 6], [1, 2, 3, 4, 5, 6]] rotated = [[] for each in range(len(pieces[0]))] for i in range(len(pieces[0])): [tab]for j in range(len(pieces)): [tab][tab]rotated[i].append(pieces[j][i]) in python. i hope u understand
2021-12-01 02:13
9 replies
I didnt have python yet
2021-12-01 03:05
1 reply
python is easy bro just read and apply it to whatever you’re coding in
2021-12-01 03:37
are u programmer ? and your lvl faceit ? i want so much to know some IT guys that are grinding cs too ;P i am it student, fc lvl 7-9 (2kh) and dont know if i have to cancel playing cs or not
2021-12-01 03:09
5 replies
I have a bachelors and 2 years of experience, dont play csgo anymore tho
2021-12-01 03:17
i'm self-taught and there's no faceit in brazil i'd be like 6-7 prob based on the elo i am on what brazilians use idk it depends. programming benefits from hours spent coding, so you can't study about it and do anything else later like in some stuff.. you gotta train by coding etc but afaik IT is way easier than comp sci. comp sci sometimes in top tier colleges can get real hard and time consuming, but IT is way lighter than comp sci on content
2021-12-01 03:30
3 replies
Well, i was about computer sience. I used wrong translation from my language. Yeah, as you said it's not easy but cs helps me sooo much with procrastination. I feel like i train my brain with playing (i am not like typical matchmaking player, i like learning smokes, watching b1ad3 tactics, practising aim in free time, faceit only, just taking cs seriously) but in the other side i feel like it steals my time and focus on one thing which is life and college. It's hard to find the golden mean between playing and proper university preparation. So i want to find somebody who works as for example programmer and still plays faceit. I feel like cs started to be my passion, but 24h is not enough to be well prepared for college, live healty and practise counter-strike.
2021-12-01 05:00
2 replies
Once you learn more you wont need to study as Hard you will learn by working
2021-12-01 05:01
1 reply
That's true actually.
2021-12-01 05:15
Taiwan ilkym00th
i almost understand thanks
2021-12-01 06:19
You again, maybe pick another education?
2021-12-01 03:16
just start building a new matrix by getting the column from the rows of the initial matrix and getting the row from the columns of the rows of the initial matrix, whats the difficulty?
2021-12-01 03:17
damn first year university throwbacks
2021-12-01 03:21
public static int[][] trans(int[][] rows) { if(rows.length == 0) { return rows; } int[][] columns = new int[rows[0].length][rows.length]; for (int i = 0; i < rows.length; i++) { for (int j = 0; i < rows[0].length;j++) { columns[j][i] = rows[i][j]; } } return columns; }
2021-12-01 05:02
2 replies
btw java is trash language
2021-12-01 05:05
1 reply
no you
2021-12-01 16:37
trans: pushq %r13 pushq %r12 pushq %rbp pushq %rbx movl %edi, %r10d movl %esi, %r11d movq %rdx, %r8 movq %rcx, %rdi movslq %esi, %rbx movslq %r10d, %r9 movl $0, %ebp jmp .L2 .L3: movslq %esi, %rdx imulq %rbx, %rdx leaq (%r8,%rdx,4), %r12 movl %eax, %edx subl %ecx, %edx movslq %eax, %r13 movl (%r12,%r13,4), %r12d movslq %edx, %rdx movl %r12d, -32(%rsp,%rdx,4) addl $1, %eax .L6: leal 7(%rcx), %edx cmpl %edx, %eax jle .L3 movl $0, %edx jmp .L4 .L5: leal (%rdx,%rcx), %eax cltq imulq %r9, %rax leaq (%rdi,%rax,4), %rax movslq %edx, %r12 movl -32(%rsp,%r12,4), %r13d movslq %esi, %r12 movl %r13d, (%rax,%r12,4) addl $1, %edx .L4: cmpl $7, %edx jle .L5 addl $1, %esi .L7: leal 7(%rbp), %eax cmpl %eax, %esi jg .L13 movl %ecx, %eax jmp .L6 .L13: addl $8, %ecx .L8: cmpl %r11d, %ecx jge .L14 movl %ebp, %esi jmp .L7 .L14: addl $8, %ebp .L2: cmpl %r10d, %ebp jge .L15 movl $0, %ecx jmp .L8 .L15: popq %rbx popq %rbp popq %r12 popq %r13 ret
2021-12-01 05:28
thanks for the exercise mens, I'm learning java too.
2021-12-01 06:05
concatenate the rows to create a matrix and transpose it :D
2021-12-01 06:09
Run two for loops swap tabl(I,j) with table(j, I) but do only for lower half of table.
2021-12-01 06:36
Login or register to add your comment to the discussion.