Anonymous
https://del.dog/ligestobof can anyone help me with this i cant figure out how to get 39 as the output in 2nd last line
Anonymous
Input would be
Anonymous
2 2 L 50 R 10 2 L 1 R 0
IAmMADMAX
2 2 L 50 R 10 2 L 1 R 0
Man This Program i have doubt too
Anonymous
Man This Program i have doubt too
lmfao r u in the codathon? XD
Anonymous
oops
IAmMADMAX
What is Codathon?
Anonymous
What is Codathon?
ahh nvm its a competition and the problem is from there i thought u were from it hahaha
Anonymous
Is this line right? x = &hintnum;
oh wait shit thanks for pointing it out i need to remove some changed
Anonymous
Is this line right? x = &hintnum;
now check it out it should be fine
Anonymous
Please Send me the solution plzz
once i get the solution then yes surely will
Anonymous
Anonymous
Anonymous
The example input has a space between the letter and the number, that might be an issue.
kodes
https://practice.geeksforgeeks.org/problems/minimize-the-heights3351/1 Can somebody explain this question??
Anonymous
ahh its working but now i have TLE issues lmfao
cool #include <stdio.h> #include <math.h> int main() { int t; scanf("%d", &t); while(t --> 0) { int len; scanf("%d", &len); double hi = pow(10, 10), lo = pow(10, -10); for(int i = 0; i < len; i++) { char LR[128]; int num; scanf("%127s", LR); scanf("%d", &num); if(LR[0] == 'L' && num < hi) printf("%lf\n", hi = num); if(LR[0] == 'R' && num > lo) printf("%lf\n", lo = num); } printf("%lf\n", hi-lo-1); puts("-1"); } return 0; }
CΞMİL
Anonymous
مرحبا
Anonymous
Hi
Anonymous
.....
Anonymous
مرحبا
Only latin letters dude
Anonymous
Hi
Anonymous
How are you
Anonymous
Not personel speech dude
Anonymous
Slow day today.
Anonymous
Who helps me with the C ++ exam
Anonymous
😭😭😭😭
Anonymous
Almost none of us would be in your class, but if a few were they may be in your phone contacts.
Anonymous
You help me
Anonymous
🤩🤩🤩
Anonymous
Too close to cheating... If there was something in textbook not understood ask about that.
Anonymous
Hello
Anonymous
How are you
Anonymous
He just joined earlier today like you did, there are many Arabs on Telegram.
Anonymous
Maybe you would like some programming blogs? https://blog.feedspot.com/c_programming_blogs/
Anonymous
H
There is any c or c++ code that receive two input arrays (inorder and preorder) and output postorder array with tree scheme?
Anonymous
You know?
z
/report
Ayoub
/report
Roxifλsz 🇱🇹
/ban
Anonymous
Hi. Nice to meet you'all. I want to learn some C++ for edit the kernel from Android. Is it enough o i need another lenguage?
z
It's actually Linux kernel.
Anonymous
It's actually Linux kernel.
Can i modify the arch's kernel too? I want to create a custom kernel for my phone and my laptop, for some uc or oc
Anonymous
Anonymous
Btw, someone have a telegram group for Java learning?
Anonymous
@en_it_chats
thank you, sir.
Anonymous
Find error
/warn find some brain
CΞMİL
Anonymous
Nohello.com
S__R
Hello world
Xudoyberdi
Nohello.com
But he's saying hi not hello.
Ilsaf
I need to find out where I should upload the "images" folder for SFML if I'm using Visual Studio 2019?
Ilsaf
I can't .loadFromFile my png files...
Igor🇺🇦
Why can't you try and run it yourself?
Kaan
Hello everybody I have a problem. I am implementing a mail system in C. I have a struct which mail. In a function I get information about mail from users. Then I create a mail variable
Kaan
but my code has a problem when I create the new Mail it becames NULL
Kaan
Mail newMail={senderAdress,getterAdress,subject,date,encryted};
Andrew
are you declaring using pointer ?
Kaan
Mail newMail={senderAdress,getterAdress,subject,date,encryted};
I take all variables from user and then put to this new mail
Andrew
mail *newmail = new mail{item1,item2,item3};
Kaan
why I need to declare pointer
Andrew
objects points to a location in memory